From 84135d4c0fb43136a4185507053f116a36a8fd05 Mon Sep 17 00:00:00 2001 From: Karel Maesen Date: Sun, 12 Feb 2017 23:20:28 +0100 Subject: [PATCH] HHH-11198 - Fixed checkstyle errors --- .../spatial/dialect/oracle/OracleSpatial10gDialect.java | 2 +- .../spatial/dialect/oracle/SDOGeometryValueExtractor.java | 3 --- .../org/hibernate/spatial/dialect/postgis/PostgisDialect.java | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/OracleSpatial10gDialect.java b/hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/OracleSpatial10gDialect.java index c8cd5d6ebc..7daaaefc18 100644 --- a/hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/OracleSpatial10gDialect.java +++ b/hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/OracleSpatial10gDialect.java @@ -285,7 +285,7 @@ public class OracleSpatial10gDialect extends Oracle10gDialect implements Spatial aggregateFunction.append( "SDOAGGRTYPE(" ); } aggregateFunction.append( arg1 ); - // TODO tolerance must by configurable + if ( sa.isAggregateType() ) { aggregateFunction.append( ", " ).append( .001 ).append( ")" ); } diff --git a/hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/SDOGeometryValueExtractor.java b/hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/SDOGeometryValueExtractor.java index cf4308899d..6d4f531d65 100644 --- a/hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/SDOGeometryValueExtractor.java +++ b/hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/SDOGeometryValueExtractor.java @@ -22,9 +22,6 @@ import org.hibernate.type.descriptor.java.JavaTypeDescriptor; import org.hibernate.type.descriptor.sql.BasicExtractor; import org.hibernate.type.descriptor.sql.SqlTypeDescriptor; - -//TODO -- requires cleanup and must be made package local - /** * ValueExtractor for SDO_GEOMETRY * diff --git a/hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/postgis/PostgisDialect.java b/hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/postgis/PostgisDialect.java index fa6dfe0038..5bec826161 100644 --- a/hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/postgis/PostgisDialect.java +++ b/hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/postgis/PostgisDialect.java @@ -317,4 +317,3 @@ public class PostgisDialect extends PostgreSQL82Dialect implements SpatialDialec } } } -