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 @@ -616,7 +616,7 @@ public Response updateWorldMapLayerData(String jsonLayerData){
// - isJoinLayer
// - joinDescription
//
String joinDescription = jsonInfo.getString("joinDescription");
String joinDescription = jsonInfo.getString("joinDescription", null);
if ((joinDescription == null) || (joinDescription.equals(""))){
mapLayerMetadata.setIsJoinLayer(true);
mapLayerMetadata.setJoinDescription(joinDescription);
Expand All @@ -627,8 +627,8 @@ public Response updateWorldMapLayerData(String jsonLayerData){

// Set the mapLayerLinks
//
String mapLayerLinks = jsonInfo.getString("mapLayerLinks");
if (mapLayerLinks == null){
String mapLayerLinks = jsonInfo.getString("mapLayerLinks", null);
if ((mapLayerLinks == null) || (mapLayerLinks.equals(""))){
mapLayerMetadata.setMapLayerLinks(null);
}else{
mapLayerMetadata.setMapLayerLinks(mapLayerLinks);
Expand Down