Removed unneeded line of codes which causes null pointer bug
This commit is contained in:
parent
657ebdb85d
commit
c7ffb6c9ed
|
@ -143,7 +143,6 @@ public class CKANUser extends CKAN {
|
||||||
ckanJobTitle = objectNode.get(ABOUT).asText();
|
ckanJobTitle = objectNode.get(ABOUT).asText();
|
||||||
}
|
}
|
||||||
if(portalJobTitle.compareTo(ckanJobTitle) != 0) {
|
if(portalJobTitle.compareTo(ckanJobTitle) != 0) {
|
||||||
objectNode = (ObjectNode) result;
|
|
||||||
objectNode.put(ABOUT, portalJobTitle);
|
objectNode.put(ABOUT, portalJobTitle);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -163,7 +162,6 @@ public class CKANUser extends CKAN {
|
||||||
ckanFullname = objectNode.get(FULL_NAME).asText();
|
ckanFullname = objectNode.get(FULL_NAME).asText();
|
||||||
}
|
}
|
||||||
if(portalFullname.compareTo(ckanFullname) != 0) {
|
if(portalFullname.compareTo(ckanFullname) != 0) {
|
||||||
objectNode = (ObjectNode) result;
|
|
||||||
objectNode.put(FULL_NAME, portalFullname);
|
objectNode.put(FULL_NAME, portalFullname);
|
||||||
objectNode.put(DISPLAY_NAME, portalFullname);
|
objectNode.put(DISPLAY_NAME, portalFullname);
|
||||||
return true;
|
return true;
|
||||||
|
@ -184,7 +182,6 @@ public class CKANUser extends CKAN {
|
||||||
ckanEmail = objectNode.get(EMAIL).asText();
|
ckanEmail = objectNode.get(EMAIL).asText();
|
||||||
}
|
}
|
||||||
if(portalEmail.compareTo(ckanEmail) != 0) {
|
if(portalEmail.compareTo(ckanEmail) != 0) {
|
||||||
objectNode = (ObjectNode) result;
|
|
||||||
objectNode.put(EMAIL, portalEmail);
|
objectNode.put(EMAIL, portalEmail);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue