Created
December 27, 2013 11:47
-
-
Save dbellettini/8146038 to your computer and use it in GitHub Desktop.
Weird conditions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<Element> parameters = root.getChildren("parameter", ns); | |
int ip; | |
for(ip=0;ip<parameters.size();ip++) | |
{ | |
if( parameters.get(ip).getAttributeValue("name").equalsIgnoreCase("new_results")) | |
{ | |
break; | |
} | |
} | |
if(!(ip<parameters.size())) | |
{ | |
System.out.println("ERROR:SSAP_XMLTools:get_SPARQL_indication:(results) not found!"); | |
return null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment