Replacement of call to Citation.getTitle(Locale)
by call to Citation.getTitle().toString(Locale)
.
This change was forced by a change in GeoAPI interfaces. Reverting this change cause compilation errors, which can be fixed only by
redoing the exact same change.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r6977:6978 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/wkt/Formatter.java
Revision 6977 | Revision 6978 |
---|---|
if (identifier != null) {
final Citation authority = identifier.getAuthority();
if (authority != null) {
final String title = authority.getTitle(locale);
if (title != null) {
buffer.append(SEPARATOR);
buffer.append(SPACE); |
if (identifier != null) {
final Citation authority = identifier.getAuthority();
if (authority != null) {
final String title = authority.getTitle().toString();
if (title != null) {
buffer.append(SEPARATOR);
buffer.append(SPACE); |