Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,8 @@ private Location getUpdatedLocation(Location existingLocation, Location updatedL
? existingLocation.getVerticalDatum() : updatedLocation.getVerticalDatum();
Double updatedElevation = updatedLocation.getElevation() == null
? existingLocation.getElevation() : updatedLocation.getElevation();
String updatedElevationUnits = updatedLocation.getElevationUnits() == null
? existingLocation.getElevationUnits() : updatedLocation.getElevationUnits();
String updatedMapLabel = updatedLocation.getMapLabel() == null
? existingLocation.getMapLabel() : updatedLocation.getMapLabel();
String updatedBoundingOfficeId = updatedLocation.getBoundingOfficeId() == null
Expand All @@ -521,6 +523,7 @@ private Location getUpdatedLocation(Location existingLocation, Location updatedL
.withPublishedLatitude(updatedPublishedLatitude)
.withVerticalDatum(updatedVerticalDatum)
.withElevation(updatedElevation)
.withElevationUnits(updatedElevationUnits)
.withMapLabel(updatedMapLabel)
.withBoundingOfficeId(updatedBoundingOfficeId)
.build();
Expand Down
Loading