Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Commit

Permalink
Handle deserializing the attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
sohaniwso2 committed Mar 8, 2018
1 parent 0839e77 commit 53a573d
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,10 @@ public org.wso2.developerstudio.eclipse.gmf.esb.ProxyService createNode(IGraphic
hasPublishWsdl=false;
}

if (object.getPreservePolicy() != null) {
if (object.getPreservePolicy().equals("true")) {
executeSetValueCommand(PROXY_SERVICE__PRESERVE_POLICY, true);
} else {
executeSetValueCommand(PROXY_SERVICE__PRESERVE_POLICY, false);
}
if("false".equals(object.getPreservePolicy())){
executeSetValueCommand(PROXY_SERVICE__PRESERVE_POLICY, false);
} else {
executeSetValueCommand(PROXY_SERVICE__PRESERVE_POLICY, true);
}

Endpoint targetInLineEndpoint = object.getTargetInLineEndpoint();
Expand Down

0 comments on commit 53a573d

Please sign in to comment.