Skip to content

Commit

Permalink
MID-6464: fix of assignment extensions of type boolean and date
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Sep 22, 2020
1 parent ac916e6 commit d6b68e0
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -58,14 +58,16 @@ void processExtensionValues(RAnyConverter.ValueType valueType,
RepositoryUpdater repositoryUpdater) {

pairsFromDelta.forEach(item -> {
RAExtValue val = (RAExtValue) item.getRepository();
RAExtValue<?> val = (RAExtValue<?>) item.getRepository();
val.setAnyContainer(extension);
val.setExtensionType(extensionType);
});

//noinspection Duplicates
switch (valueType) {
case BOOLEAN:
repositoryUpdater.update(extension.getBooleans(), pairsFromDelta);
break;
case DATE:
repositoryUpdater.update(extension.getDates(), pairsFromDelta);
break;
case LONG:
Expand Down

0 comments on commit d6b68e0

Please sign in to comment.