Skip to content

Commit

Permalink
Operator error fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbock committed Mar 13, 2016
1 parent 5703df3 commit b9b99fc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public String getTr064Value(String request){
//check if special "soap value parser" handler for extracting SOAP value is defined. If yes, use svp
if(itemMap.getSoapValueParser() == null){ //extract dataOutName1 as default, no handler used
NodeList nlDataOutNodes = response.getSOAPPart().getElementsByTagName(itemMap.getReadDataOutName());
if(nlDataOutNodes != null & nlDataOutNodes.getLength() > 0){
if(nlDataOutNodes != null && nlDataOutNodes.getLength() > 0){
//extract value from soap response
value = nlDataOutNodes.item(0).getTextContent();
}
Expand Down Expand Up @@ -711,7 +711,7 @@ public String parseValueFromSoapMessage(SOAPMessage sm, ItemMap mapping, String
}
else{
NodeList nlDataOutNodes = sm.getSOAPPart().getElementsByTagName(mapping.getReadDataOutName()); //URL
if(nlDataOutNodes != null & nlDataOutNodes.getLength() > 0){
if(nlDataOutNodes != null && nlDataOutNodes.getLength() > 0){
//extract URL from soap response
String url = nlDataOutNodes.item(0).getTextContent();
Document xmlTamInfo = getFboxXmlResponse(url);
Expand Down Expand Up @@ -773,7 +773,7 @@ public String parseValueFromSoapMessage(SOAPMessage sm, ItemMap mapping, String
}
else{
NodeList nlDataOutNodes = sm.getSOAPPart().getElementsByTagName(mapping.getReadDataOutName()); //URL
if(nlDataOutNodes != null & nlDataOutNodes.getLength() > 0){
if(nlDataOutNodes != null && nlDataOutNodes.getLength() > 0){
//extract URL from soap response
String url = nlDataOutNodes.item(0).getTextContent();
// only get missed calls of the last x days
Expand Down
4 changes: 4 additions & 0 deletions target/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -215,3 +215,7 @@
/classes/
/classes/
/classes/
/classes/
/classes/
/classes/
/classes/
Binary file not shown.

0 comments on commit b9b99fc

Please sign in to comment.