Skip to content

Commit

Permalink
SHIBUI-522: polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
dima767 committed Jun 13, 2018
1 parent 83f01f8 commit 340d9c8
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,9 @@ public ResponseEntity<?> update(@PathVariable String metadataResolverId,

metadataResolverService.reloadFilters(persistedMr.getName());

int version = updatedFilter.getVersion();
MetadataFilter persistedFilter =
convertIntoTransientRepresentationIfNecessary(persistedMr.getMetadataFilters().stream(), updatedFilter.getResourceId());

int persitedVersion = persistedFilter.getVersion();

return ResponseEntity.ok().body(persistedFilter);
}

Expand Down

0 comments on commit 340d9c8

Please sign in to comment.