Strabon

changeset 987:f6cf896c4422

get rid of warnings
author Babis Nikolaou <charnik@di.uoa.gr>
date Fri Apr 05 18:02:22 2013 +0300 (2013-04-05)
parents 6e7861bd1005
children 3e3bf4aaa021
files evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/stsparql/property/SridFunc.java generaldb/src/main/java/org/openrdf/sail/generaldb/evaluation/GeneralDBEvaluation.java
line diff
     1.1 --- a/evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/stsparql/property/SridFunc.java	Fri Apr 05 17:44:51 2013 +0300
     1.2 +++ b/evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/stsparql/property/SridFunc.java	Fri Apr 05 18:02:22 2013 +0300
     1.3 @@ -22,6 +22,6 @@
     1.4  
     1.5  	@Override
     1.6  	public String getURI() {
     1.7 -		return GeoConstants.stSPARQLsrid.toString(); //changed this-constant
     1.8 +		return GeoConstants.stSPARQLsrid; //changed this-constant
     1.9  	}
    1.10  }
     2.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/evaluation/GeneralDBEvaluation.java	Fri Apr 05 17:44:51 2013 +0300
     2.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/evaluation/GeneralDBEvaluation.java	Fri Apr 05 18:02:22 2013 +0300
     2.3 @@ -684,7 +684,7 @@
     2.4  			}
     2.5  		}
     2.6  
     2.7 -		List<GeneralDBSelectProjection> projForOrderBy = new ArrayList<GeneralDBSelectProjection>();
     2.8 +		//List<GeneralDBSelectProjection> projForOrderBy = new ArrayList<GeneralDBSelectProjection>();
     2.9  
    2.10  		int index = 0;
    2.11  		for (GeneralDBSelectProjection proj : qb.getSqlSelectVar()) {
    2.12 @@ -798,7 +798,7 @@
    2.13  	 */
    2.14  	private void locateColumnVars(GeneralDBSqlExpr expr, Collection<GeneralDBColumnVar> allKnown)
    2.15  	{
    2.16 -		ArrayList<GeneralDBColumnVar> allVars = new ArrayList<GeneralDBColumnVar>();
    2.17 +		//ArrayList<GeneralDBColumnVar> allVars = new ArrayList<GeneralDBColumnVar>();
    2.18  		if(expr instanceof GeneralDBSqlSpatialProperty) //1 arg
    2.19  		{
    2.20  
    2.21 @@ -910,7 +910,6 @@
    2.22  		}
    2.23  		else if(expr instanceof GeneralDBURIColumn)//Used for 2nd argument of Transform
    2.24  		{
    2.25 -			boolean found = false;
    2.26  			String name = ((GeneralDBURIColumn) expr).getVarName();
    2.27  
    2.28  			for(GeneralDBColumnVar reference: allKnown)
    2.29 @@ -919,7 +918,6 @@
    2.30  				{
    2.31  					GeneralDBSqlExpr exprCopy = new GeneralDBURIColumn(reference);
    2.32  					expr.replaceWith(exprCopy);
    2.33 -					found = true;
    2.34  				}
    2.35  			}
    2.36