Mercurial > dive4elements > gnv-client
diff gnv-artifacts/src/main/java/de/intevation/gnv/utils/WKTUtils.java @ 778:9a828e5a2390
Removed trailing whitespace
gnv-artifacts/trunk@851 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 29 Mar 2010 07:58:51 +0000 |
parents | 0563389138bb |
children | 2cea76f1112e |
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/utils/WKTUtils.java Fri Mar 26 15:31:20 2010 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/utils/WKTUtils.java Mon Mar 29 07:58:51 2010 +0000 @@ -122,7 +122,7 @@ } public static final String indexBox( - java.awt.Point a, + java.awt.Point a, java.awt.Point b, String iName, String jName @@ -173,7 +173,7 @@ new ArrayList<Object []>(); createIJKPoints(coords, meshid, ijkQueryID, points, missingPoints); - + String additionWhere = null; if (missingPoints.size() == coords.length) { @@ -211,7 +211,7 @@ ArrayList<Object []> missingPoints = new ArrayList<Object []>(); createIJKPoints(coords, meshid, ijkQueryID, points, missingPoints); - + String additionWhere = TRUE_EXPRESSION; if (missingPoints.size() == coords.length) { @@ -224,8 +224,8 @@ if (!remainsMissingPoints) { // TODO: Make Tablenames and Columns Configurable IndexBuffer ib = new IndexBuffer( - points, - I_NAME, + points, + I_NAME, J_NAME ); additionWhere = ib.toWhereClause(); log.debug("Additional Where Clause = "+additionWhere); @@ -310,14 +310,14 @@ List<java.awt.Point> points, ArrayList<Object []> missingPoints ) - throws QueryException + throws QueryException { boolean debug = log.isDebugEnabled(); QueryExecutor queryExecutor = QueryExecutorFactory .getInstance() .getQueryExecutor(); - + for (int i = 0; i < coords.length; i++) { String wkt = toWKT(coords[i]);