sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1567591 - in /sis/branches/JDK7/core/sis-metadata/src: main/java/org/apache/sis/io/wkt/ main/java/org/apache/sis/metadata/iso/ test/java/org/apache/sis/io/wkt/
Date Wed, 12 Feb 2014 10:37:37 GMT
Author: desruisseaux
Date: Wed Feb 12 10:37:37 2014
New Revision: 1567591

URL: http://svn.apache.org/r1567591
Log:
Simplified the check for whether we need to add a separator before the next element.
Javadoc fixes.

Modified:
    sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Convention.java
    sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/FormattableObject.java
    sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Formatter.java
    sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Symbols.java
    sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/UnformattableObjectException.java
    sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/WKTFormat.java
    sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/ImmutableIdentifier.java
    sis/branches/JDK7/core/sis-metadata/src/test/java/org/apache/sis/io/wkt/FormatterTest.java

Modified: sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Convention.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Convention.java?rev=1567591&r1=1567590&r2=1567591&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Convention.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Convention.java
[UTF-8] Wed Feb 12 10:37:37 2014
@@ -75,11 +75,12 @@ public enum Convention {
      *   <li>In {@code AXIS} elements, the {@code ORDER} sub-element is omitted.</li>
      *   <li>In {@code VERTICALEXTENT} elements, the {@code UNIT} sub-element is omitted
      *       if the unit is {@link javax.measure.unit.SI#METRE}.</li>
-     *   <li>{@code ID[…]} elements are formatted for child elements in addition
to the root one.
-     *       This <em>addition</em> apparently goes against the simplification
goal, but is often
-     *       a helpful information when using Apache SIS.</li>
+     *   <li>{@code ID} elements are formatted for child elements in addition to the
root one.</li>
      * </ul>
      *
+     * {@note The additional <code>ID[…]</code> elements apparently go against
the simplification goal,
+     *        but are often helpful information when using Apache SIS.}
+     *
      * Those modifications are allowed by the ISO 19162 standard and do not cause any information
lost.
      * The omitted elements are not needed by Apache SIS WKT parser and often distractive
for the human reader.
      *

Modified: sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/FormattableObject.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/FormattableObject.java?rev=1567591&r1=1567590&r2=1567591&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/FormattableObject.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/FormattableObject.java
[UTF-8] Wed Feb 12 10:37:37 2014
@@ -118,7 +118,6 @@ public abstract class FormattableObject 
 
     /**
      * Returns a <cite>Well Known Text</cite> (WKT) for this object using the
specified convention.
-     * The {@link Convention#INTERNAL INTERNAL} convention is a special value for debugging
map projections.
      *
      * @param  convention The WKT convention to use.
      * @return The Well Known Text (WKT) or a pseudo-WKT representation of this object.
@@ -136,13 +135,16 @@ public abstract class FormattableObject 
      *
      * <p>This is a convenience method for debugging purpose and for console applications.</p>
      *
+     * @param convention The WKT convention to use.
+     *
      * @see Colors#CONSOLE
      */
     @Debug
-    public void print() {
+    public void print(final Convention convention) {
+        ArgumentChecks.ensureNonNull("convention", convention);
         final Console console = System.console();
         final PrintWriter out = (console != null) ? console.writer() : null;
-        final String wkt = formatWKT(Convention.DEFAULT_SIMPLIFIED, (out != null) &&
X364.isAnsiSupported(), false);
+        final String wkt = formatWKT(convention, (out != null) && X364.isAnsiSupported(),
false);
         if (out != null) {
             out.println(wkt);
         } else {
@@ -203,7 +205,8 @@ public abstract class FormattableObject 
      * {@section Formatting non-standard WKT}
      * If the implementation can not represent this object without violating some WKT constraints,
      * it can uses its own (non-standard) keywords but shall declare that it did so by invoking
one
-     * of the {@link Formatter#setInvalidWKT(IdentifiedObject) Formatter.setInvalidWKT(…)}
methods.
+     * of the {@link Formatter#setInvalidWKT(IdentifiedObject, Exception) Formatter.setInvalidWKT(…)}
+     * methods.
      *
      * <p>Alternatively, the implementation may also have no WKT keyword for this object.
      * This happen frequently when an abstract class defines a base implementation,

Modified: sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Formatter.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Formatter.java?rev=1567591&r1=1567590&r2=1567591&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Formatter.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Formatter.java
[UTF-8] Wed Feb 12 10:37:37 2014
@@ -126,6 +126,12 @@ public class Formatter implements Locali
     private final Symbols symbols;
 
     /**
+     * The value of {@link Symbols#getSeparator()} without trailing spaces, followed by the
system line separator.
+     * Computed by {@link Symbols#lineSeparator()} and stored for reuse.
+     */
+    private final String lineSeparator;
+
+    /**
      * The colors to use for this formatter, or {@code null} for no syntax coloring.
      * If non-null, the terminal must be ANSI X3.64 compatible.
      * The default value is {@code null}.
@@ -196,12 +202,13 @@ public class Formatter implements Locali
     private StringBuffer buffer;
 
     /**
-     * The starting point in the buffer. Always 0, except when used by
-     * {@link WKTFormat#format(Object, Appendable)}.
+     * Index of the first character in the buffer where the element content will be formatted.
+     * This is set after the opening bracket and is used for determining if a separator needs
+     * to be appended.
      *
      * @see #setBuffer(StringBuffer)
      */
-    private int bufferBase;
+    private int elementStart;
 
     /**
      * Incremented when {@link #setColor(ElementKind)} is invoked, and decremented when {@link
#resetColor()}
@@ -283,15 +290,16 @@ public class Formatter implements Locali
         ArgumentChecks.ensureNonNull("convention",  convention);
         ArgumentChecks.ensureNonNull("symbols",     symbols);
         ArgumentChecks.ensureBetween("indentation", WKTFormat.SINGLE_LINE, Byte.MAX_VALUE,
indentation);
-        this.locale       = Locale.getDefault(Locale.Category.DISPLAY);
-        this.convention   = convention;
-        this.authority    = convention.getNameAuthority();
-        this.symbols      = symbols.immutable();
-        this.indentation  = (byte) indentation;
-        this.numberFormat = symbols.createNumberFormat();
-        this.dateFormat   = new SimpleDateFormat(WKTFormat.DATE_PATTERN, symbols.getLocale());
-        this.unitFormat   = UnitFormat.getInstance(symbols.getLocale());
-        this.buffer       = new StringBuffer();
+        this.locale        = Locale.getDefault(Locale.Category.DISPLAY);
+        this.convention    = convention;
+        this.authority     = convention.getNameAuthority();
+        this.symbols       = symbols.immutable();
+        this.lineSeparator = this.symbols.lineSeparator();
+        this.indentation   = (byte) indentation;
+        this.numberFormat  = symbols.createNumberFormat();
+        this.dateFormat    = new SimpleDateFormat(WKTFormat.DATE_PATTERN, symbols.getLocale());
+        this.unitFormat    = UnitFormat.getInstance(symbols.getLocale());
+        this.buffer        = new StringBuffer();
     }
 
     /**
@@ -301,14 +309,15 @@ public class Formatter implements Locali
     Formatter(final Locale locale, final Symbols symbols, final NumberFormat numberFormat,
             final DateFormat dateFormat, final UnitFormat unitFormat)
     {
-        this.locale       = locale;
-        this.convention   = Convention.DEFAULT;
-        this.authority    = Convention.DEFAULT.getNameAuthority();
-        this.symbols      = symbols;
-        this.indentation  = WKTFormat.DEFAULT_INDENTATION;
-        this.numberFormat = numberFormat; // No clone needed.
-        this.dateFormat   = dateFormat;   // No clone needed.
-        this.unitFormat   = unitFormat;   // No clone needed.
+        this.locale        = locale;
+        this.convention    = Convention.DEFAULT;
+        this.authority     = Convention.DEFAULT.getNameAuthority();
+        this.symbols       = symbols;
+        this.lineSeparator = this.symbols.lineSeparator();
+        this.indentation   = WKTFormat.DEFAULT_INDENTATION;
+        this.numberFormat  = numberFormat; // No clone needed.
+        this.dateFormat    = dateFormat;   // No clone needed.
+        this.unitFormat    = unitFormat;   // No clone needed.
         // Do not set the buffer. It will be set by WKTFormat.format(…).
     }
 
@@ -317,7 +326,7 @@ public class Formatter implements Locali
      */
     final void setBuffer(final StringBuffer buffer) {
         this.buffer = buffer;
-        bufferBase = (buffer != null) ? buffer.length() : 0;
+        elementStart = (buffer != null) ? buffer.length() : 0;
     }
 
     /**
@@ -465,26 +474,14 @@ public class Formatter implements Locali
      * This method does nothing if there is currently no element at the buffer end.
      */
     private void appendSeparator() {
-        final StringBuffer buffer = this.buffer;
-        int length = buffer.length();
-        int c;
-        do {
-            if (length <= bufferBase) {
-                requestNewLine = false;
-                return; // We are at the buffer beginning.
-            }
-            c = buffer.codePointBefore(length);
-            if (symbols.matchingBracket(c) >= 0 || c == symbols.getOpenSequence()) {
-                requestNewLine = false;
-                return; // We are the first item inside a new keyword.
-            }
-            length -= Character.charCount(c);
-        } while (Character.isSpaceChar(c) || c < 32); // c < 32 is for ignoring all
control characters.
-        buffer.append(symbols.getSeparator());
-        if (requestNewLine) {
-            buffer.append(System.lineSeparator()).append(CharSequences.spaces(margin));
-            requestNewLine = false;
+        if (buffer.length() != elementStart) {
+            if (requestNewLine) {
+                buffer.append(lineSeparator).append(CharSequences.spaces(margin));
+            } else {
+                buffer.append(symbols.getSeparator());
+            }
         }
+        requestNewLine = false;
     }
 
     /**
@@ -498,7 +495,7 @@ public class Formatter implements Locali
             newLine();
         }
         appendSeparator();
-        buffer.append(keyword).appendCodePoint(symbols.getOpeningBracket(0));
+        elementStart = buffer.append(keyword).appendCodePoint(symbols.getOpeningBracket(0)).length();
     }
 
     /**
@@ -553,7 +550,7 @@ public class Formatter implements Locali
          */
         appendSeparator();
         int base = buffer.length();
-        buffer.appendCodePoint(symbols.getOpeningBracket(0));
+        elementStart = buffer.appendCodePoint(symbols.getOpeningBracket(0)).length();
         indent(+1);
         /*
          * Formats the inner part, then prepend the WKT keyword.
@@ -744,13 +741,12 @@ public class Formatter implements Locali
             } else {
                 final Matrix matrix = ReferencingServices.getInstance().getMatrix(transform);
                 if (matrix != null) {
-                    appendSeparator();
-                    buffer.append("PARAM_MT").appendCodePoint(symbols.getOpeningBracket(0));
+                    openElement(true, "PARAM_MT");
                     quote("Affine");
                     indent(+1);
                     append(matrix);
                     indent(-1);
-                    buffer.appendCodePoint(symbols.getClosingBracket(0));
+                    closeElement(true);
                 } else {
                     throw new UnformattableObjectException(Errors.format(
                             Errors.Keys.IllegalClass_2, FormattableObject.class, transform.getClass()));
@@ -1013,8 +1009,6 @@ public class Formatter implements Locali
      */
     public void append(final Unit<?> unit) {
         if (unit != null) {
-            final StringBuffer buffer = this.buffer;
-            appendSeparator();
             String keyword = "UNIT";
             if (!convention.isSimple()) {
                 if (Units.isLinear(unit)) {
@@ -1027,7 +1021,7 @@ public class Formatter implements Locali
                     keyword = "TIMEUNIT";
                 }
             }
-            buffer.append(keyword).appendCodePoint(symbols.getOpeningBracket(0));
+            openElement(false, keyword);
             setColor(ElementKind.UNIT);
             final int fromIndex = buffer.appendCodePoint(symbols.getOpeningQuote(0)).length();
             if (NonSI.DEGREE_ANGLE.equals(unit)) {
@@ -1170,8 +1164,8 @@ public class Formatter implements Locali
 
     /**
      * Returns {@code true} if the WKT written by this formatter is not strictly compliant
to the WKT specification.
-     * This method returns {@code true} if {@link #setInvalidWKT(IdentifiedObject)} has been
invoked at least once.
-     * The action to take regarding invalid WKT is caller-dependent.
+     * This method returns {@code true} if {@link #setInvalidWKT(IdentifiedObject, Exception)}
has been invoked at
+     * least once. The action to take regarding invalid WKT is caller-dependent.
      * For example {@link FormattableObject#toString()} will accepts loose WKT formatting
and ignore
      * this flag, while {@link FormattableObject#toWKT()} requires strict WKT formatting
and will
      * thrown an exception if this flag is set.
@@ -1214,8 +1208,8 @@ public class Formatter implements Locali
 
     /**
      * Marks the current WKT representation of the given class as not strictly compliant
to the WKT specification.
-     * This method can be used as an alternative to {@link #setInvalidWKT(IdentifiedObject)}
when the problematic
-     * object is not an instance of {@code IdentifiedObject}.
+     * This method can be used as an alternative to {@link #setInvalidWKT(IdentifiedObject,
Exception)} when the
+     * problematic object is not an instance of {@code IdentifiedObject}.
      *
      * <p>If any {@code setInvalidWKT(…)} method is invoked more than once during
formatting,
      * then only information about the first failure will be retained.</p>

Modified: sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Symbols.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Symbols.java?rev=1567591&r1=1567590&r2=1567591&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Symbols.java [UTF-8]
(original)
+++ sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Symbols.java [UTF-8]
Wed Feb 12 10:37:37 2014
@@ -36,31 +36,32 @@ import static org.apache.sis.util.Argume
  *   <tr>
  *     <td>Locale for number format:</td>
  *     <td>{@link Locale#ROOT}</td>
+ *     <td></td>
  *   </tr>
  *   <tr>
  *     <td>Bracket symbols:</td>
  *     <td>{@code [}…{@code ]} or {@code (}…{@code )}</td>
+ *     <td><font size="-1"><b>Note:</b> the {@code […]} brackets
are common in referencing WKT,
+ *         while the {@code (…)} brackets are common in geometry WKT.</font></td>
  *   </tr>
  *   <tr>
  *     <td>Quote symbols:</td>
  *     <td>{@code "}…{@code "}</td>
+ *     <td><font size="-1"><b>Note:</b> Apache SIS accepts also {@code
“…”} quotes for more readable
+ *         {@code String} literals in Java code, but this is non-standard.</font></td>
  *   </tr>
  *   <tr>
  *     <td>Sequence symbols:</td>
  *     <td><code>{</code>…<code>}</code></td>
+ *     <td></td>
  *   </tr>
  *   <tr>
  *     <td>Separator:</td>
  *     <td>{@code ,}</td>
+ *     <td></td>
  *   </tr>
  * </table></blockquote>
  *
- * {@note The <code>[…]</code> brackets are common in referencing WKT,
- *        while the <code>(…)</code> brackets are common in geometry WKT.}
- *
- * {@note Apache SIS also accepts <code>“…”</code> quotes for more readable
<code>String</code> literals
- *        in Java code, but this is non-standard.}
- *
  * Users can create their own {@code Symbols} instance for parsing or formatting a WKT with
different symbols.
  *
  * @author  Martin Desruisseaux (IRD, Geomatys)
@@ -218,16 +219,16 @@ public class Symbols implements Localize
     }
 
     /**
-     * Returns the locale of {@linkplain java.text.DecimalFormatSymbols decimal format symbols}
or other symbols.
+     * Returns the locale for formatting dates and numbers.
      * The default value is {@link Locale#ROOT}.
      *
      * {@section Relationship between <code>Symbols</code> locale and <code>WKTFormat</code>
locale}
-     * The {@code WKTFormat.getLocale()} property specifies the language to use when formatting
-     * {@link org.opengis.util.InternationalString} instances. This can be set to any value.
+     * The {@code WKTFormat.getLocale(Locale.DISPLAY)} property specifies the language to
use when
+     * formatting {@link org.opengis.util.InternationalString} instances and can be set to
any value.
      * On the contrary, the {@code Locale} property of this {@code Symbols} class controls
-     * the decimal format symbols and is very rarely set to an other locale than {@link Locale#ROOT}.
+     * the decimal format symbols and is very rarely set to an other locale than {@code Locale.ROOT}.
      *
-     * @return The symbols locale.
+     * @return The locale for dates and numbers.
      *
      * @see WKTFormat#getLocale(Locale.Category)
      */
@@ -239,7 +240,7 @@ public class Symbols implements Localize
     /**
      * Sets the locale of decimal format symbols or other symbols.
      * Note that any non-English locale is likely to produce WKT that do not conform to ISO
19162.
-     * Such WKT should be used for human reading only, not for data export.
+     * Such WKT can be used for human reading, but not for data export.
      *
      * @param locale The new symbols locale.
      */
@@ -473,6 +474,16 @@ public class Symbols implements Localize
     }
 
     /**
+     * Returns the value of {@link #getSeparator()} without trailing spaces,
+     * followed by the system line separator.
+     */
+    final String lineSeparator() {
+        final String separator = getSeparator();
+        return separator.substring(0, CharSequences.skipTrailingWhitespaces(separator, 0,
separator.length()))
+                .concat(System.lineSeparator());
+    }
+
+    /**
      * Creates a new number format to use for parsing and formatting. Each {@link WKTFormat}
will
      * create its own instance, since {@link NumberFormat}s are not guaranteed to be thread-safe.
      *

Modified: sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/UnformattableObjectException.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/UnformattableObjectException.java?rev=1567591&r1=1567590&r2=1567591&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/UnformattableObjectException.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/UnformattableObjectException.java
[UTF-8] Wed Feb 12 10:37:37 2014
@@ -36,7 +36,7 @@ import org.opengis.referencing.Identifie
  * @version 0.4
  * @module
  *
- * @see Formatter#setInvalidWKT(IdentifiedObject)
+ * @see Formatter#setInvalidWKT(IdentifiedObject, Exception)
  */
 public class UnformattableObjectException extends UnsupportedOperationException {
     /**

Modified: sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/WKTFormat.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/WKTFormat.java?rev=1567591&r1=1567590&r2=1567591&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/WKTFormat.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/WKTFormat.java
[UTF-8] Wed Feb 12 10:37:37 2014
@@ -166,10 +166,10 @@ public class WKTFormat extends CompoundF
      * Returns the locale for the given category. This method implements the following mapping:
      *
      * <ul>
-     *   <li>{@link Locale.Category#FORMAT} — the value of {@link Symbols#getLocale()},
+     *   <li>{@link java.util.Locale.Category#FORMAT}: the value of {@link Symbols#getLocale()},
      *       normally fixed to {@link Locale#ROOT}, used for number formatting.</li>
-     *   <li>{@link Locale.Category#DISPLAY} — the {@code locale} given at construction
time,
-     *       used for {@code InternationalString} localization.</li>
+     *   <li>{@link java.util.Locale.Category#DISPLAY}: the {@code locale} given at
construction time,
+     *       used for {@link org.opengis.util.InternationalString} localization.</li>
      * </ul>
      *
      * @param  category The category for which a locale is desired.

Modified: sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/ImmutableIdentifier.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/ImmutableIdentifier.java?rev=1567591&r1=1567590&r2=1567591&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/ImmutableIdentifier.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/ImmutableIdentifier.java
[UTF-8] Wed Feb 12 10:37:37 2014
@@ -577,13 +577,13 @@ public class ImmutableIdentifier extends
                      * because this property is currently computed rather than stored.
                      * Simplified convention formats only for the ID of root element.
                      */
-                    final boolean shownURI;
+                    final boolean showURI;
                     switch (convention) {
-                        default:              shownURI = true;  break;
-                        case INTERNAL:        shownURI = false; break;
-                        case WKT2_SIMPLIFIED: shownURI = formatter.getEnclosingElement(2)
== null; break;
+                        default:              showURI = true;  break;
+                        case INTERNAL:        showURI = false; break;
+                        case WKT2_SIMPLIFIED: showURI = formatter.getEnclosingElement(2)
== null; break;
                     }
-                    if (shownURI) {
+                    if (showURI) {
                         final FormattableObject parent = formatter.getEnclosingElement(1);
                         if (parent != null && ReferencingUtilities.usesURN(codeSpace))
{
                             final String type = ReferencingUtilities.toURNType(parent.getClass());

Modified: sis/branches/JDK7/core/sis-metadata/src/test/java/org/apache/sis/io/wkt/FormatterTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-metadata/src/test/java/org/apache/sis/io/wkt/FormatterTest.java?rev=1567591&r1=1567590&r2=1567591&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-metadata/src/test/java/org/apache/sis/io/wkt/FormatterTest.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-metadata/src/test/java/org/apache/sis/io/wkt/FormatterTest.java
[UTF-8] Wed Feb 12 10:37:37 2014
@@ -48,7 +48,7 @@ public final strictfp class FormatterTes
     }
 
     /**
-     * Tests {@link Formatter#append(GeographicBoundingBox, int)}.
+     * Tests (indirectly) {@link Formatter#append(GeographicBoundingBox, int)}.
      */
     @Test
     public void testAppendGeographicBoundingBox() {



Mime
View raw message