This commit get the code to compile after a change in GeoAPI classes. Reverting this commit causes a compilation
error (since the AxisDirection
constructor is not public anymore), which can only be fixed by replacing
the constructor call by a call to valueOf
, which lead us the the same result than this commit. There is
no other way.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r26668:26669 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/cs/DirectionAlongMeridian.java
Revision 26668 | Revision 26669 |
---|---|
*/
direction = findDirection(name);
if (direction == null) {
direction = new AxisDirection(name);
}
}
return direction; |
*/
direction = findDirection(name);
if (direction == null) {
direction = AxisDirection.valueOf(name);
}
}
return direction; |