Changes in this commit seem to be the result of some "auto reformat" tool execution. The Java - GeoAPI - GeoTools import ordering is altered, imports used only in Javadoc are lost and the encoding of non-ASCII characters is broken. This commit has been reverted, except for the removal of really unused imports which are kept removed.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r10795:10796 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/measure/Angle.java
Revision 10795 | Revision 10796 |
---|---|
/*
* Geotools 2 - OpenSource mapping toolkit
* (C) 2003, Geotools Project Managment Committee (PMC)
* (C) 2001, Institut de Recherche pour le Développement
* (C) 1999, Fisheries and Oceans Canada
*
* This library is free software; you can redistribute it and/or |
/*
* Geotools 2 - OpenSource mapping toolkit
* (C) 2003, Geotools Project Managment Committee (PMC)
* (C) 2001, Institut de Recherche pour le D�veloppement
* (C) 1999, Fisheries and Oceans Canada
*
* This library is free software; you can redistribute it and/or |
package org.geotools.measure; // J2SE dependencies import java.util.Locale; import java.text.Format; import java.io.Serializable; import java.text.ParseException; import java.lang.ref.Reference; import java.lang.ref.SoftReference; // Geotools dependencies import org.geotools.resources.ClassChanger; |
package org.geotools.measure; // J2SE dependencies import java.io.Serializable; import java.lang.ref.Reference; import java.lang.ref.SoftReference; import java.text.Format; import java.text.ParseException; import java.util.Locale; import org.geotools.resources.ClassChanger; |
/**
* Constructs a newly allocated <code>Angle</code> object that represents the angle value
* represented by the string. The string should represents an angle in either fractional
* degrees (e.g. 45.5°) or degrees with minutes and seconds (e.g. 45°30').
*
* @param string A string to be converted to an <code>Angle</code>.
* @throws NumberFormatException if the string does not contain a parsable angle. |
/**
* Constructs a newly allocated <code>Angle</code> object that represents the angle value
* represented by the string. The string should represents an angle in either fractional
* degrees (e.g. 45.5�) or degrees with minutes and seconds (e.g. 45�30').
*
* @param string A string to be converted to an <code>Angle</code>.
* @throws NumberFormatException if the string does not contain a parsable angle. |
return angleFormat;
}
}
final Format newFormat = new AngleFormat("D°MM.m'", Locale.US);
format = new SoftReference(newFormat);
return newFormat;
} |
return angleFormat;
}
}
final Format newFormat = new AngleFormat("D�MM.m'", Locale.US);
format = new SoftReference(newFormat);
return newFormat;
} |