From: <svn...@os...> - 2012-03-03 14:24:23
|
Author: aaime Date: 2012-03-03 06:24:17 -0800 (Sat, 03 Mar 2012) New Revision: 38598 Modified: branches/2.7.x/modules/library/referencing/src/main/java/org/geotools/referencing/operation/transform/SimilarityTransformProvider.java Log: Fix java 5 incompatibility Modified: branches/2.7.x/modules/library/referencing/src/main/java/org/geotools/referencing/operation/transform/SimilarityTransformProvider.java =================================================================== --- branches/2.7.x/modules/library/referencing/src/main/java/org/geotools/referencing/operation/transform/SimilarityTransformProvider.java 2012-03-03 14:14:45 UTC (rev 38597) +++ branches/2.7.x/modules/library/referencing/src/main/java/org/geotools/referencing/operation/transform/SimilarityTransformProvider.java 2012-03-03 14:24:17 UTC (rev 38598) @@ -73,7 +73,7 @@ new NamedIdentifier(Citations.EPSG, "Scale difference"), new NamedIdentifier(Citations.EPSG, "8611") }, - 1, Double.MIN_NORMAL, Double.POSITIVE_INFINITY, Dimensionless.UNIT); + 1, /* Double.MIN_NORMAL, but not available in jdk 1.5 */ 0x1.0p-1022 , Double.POSITIVE_INFINITY, Dimensionless.UNIT); /** * "Rotation angle of source coordinate reference system axes" EPSG::8614 |