MARMOTTA-584: renamed var name in the generic boolean query executor

Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/1af440ed
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/1af440ed
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/1af440ed

Branch: refs/heads/MARMOTTA-584
Commit: 1af440ede1373196141a481ff3dc7cc99e18c166
Parents: fa5706f
Author: Sergio Fernández <[email protected]>
Authored: Fri Sep 11 13:09:04 2015 +0200
Committer: Sergio Fernández <[email protected]>
Committed: Fri Sep 11 13:09:04 2015 +0200

----------------------------------------------------------------------
 .../marmotta/kiwi/sparql/geosparql/GeoSPARQLFunctionsTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/1af440ed/libraries/kiwi/kiwi-geosparql/src/test/java/org/apache/marmotta/kiwi/sparql/geosparql/GeoSPARQLFunctionsTest.java
----------------------------------------------------------------------
diff --git 
a/libraries/kiwi/kiwi-geosparql/src/test/java/org/apache/marmotta/kiwi/sparql/geosparql/GeoSPARQLFunctionsTest.java
 
b/libraries/kiwi/kiwi-geosparql/src/test/java/org/apache/marmotta/kiwi/sparql/geosparql/GeoSPARQLFunctionsTest.java
index 1c79d61..f79a435 100644
--- 
a/libraries/kiwi/kiwi-geosparql/src/test/java/org/apache/marmotta/kiwi/sparql/geosparql/GeoSPARQLFunctionsTest.java
+++ 
b/libraries/kiwi/kiwi-geosparql/src/test/java/org/apache/marmotta/kiwi/sparql/geosparql/GeoSPARQLFunctionsTest.java
@@ -159,7 +159,7 @@ public class GeoSPARQLFunctionsTest {
         }
     }
 
-    private void testQueryBoolean(String filename, String function) throws 
Exception {
+    private void testQueryBoolean(String filename, String var) throws 
Exception {
         String queryString = 
IOUtils.toString(this.getClass().getResourceAsStream("/" + filename), "UTF-8");
 
         RepositoryConnection conn = repository.getConnection();
@@ -176,7 +176,7 @@ public class GeoSPARQLFunctionsTest {
 
             List<BindingSet> results = Iterations.asList(result1);
 
-            
Assert.assertTrue(Boolean.parseBoolean(results.get(0).getValue(function).stringValue()));
+            
Assert.assertTrue(Boolean.parseBoolean(results.get(0).getValue(var).stringValue()));
         } catch (RepositoryException ex) {
             conn.rollback();
         } finally {

Reply via email to