Skip to content

Commit

Permalink
Modification of JSONShallowCopier to return the parent of a level in the
Browse files Browse the repository at this point in the history
hierarchy. Fixes #17.
  • Loading branch information
littlefieldnick committed Oct 7, 2018
1 parent d44e3d9 commit d957ada
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public static Location copyLocation(Location loc) {
level.setLevel(loc.getLocationLevel().getLevel());
level.setName(loc.getLocationLevel().getName());
level.setExtId(loc.getLocationLevel().getExtId());
level.setParent(loc.getLocationLevel().getParent());
copy.setLocationLevel(level);
copy.setUuid(loc.getUuid());
copy.setExtId(loc.getExtId());
Expand Down

0 comments on commit d957ada

Please sign in to comment.