sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1403605 - in /sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/io: FilteredAppendable.java IO.java LineFormatter.java
Date Tue, 30 Oct 2012 02:06:44 GMT
Author: desruisseaux
Date: Tue Oct 30 02:06:43 2012
New Revision: 1403605

URL: http://svn.apache.org/viewvc?rev=1403605&view=rev
Log:
Removed (for now) FilteredAppendable from public API, in order to keep it simpler.

Modified:
    sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/io/FilteredAppendable.java
    sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/io/IO.java
    sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/io/LineFormatter.java

Modified: sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/io/FilteredAppendable.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/io/FilteredAppendable.java?rev=1403605&r1=1403604&r2=1403605&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/io/FilteredAppendable.java
(original)
+++ sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/io/FilteredAppendable.java
Tue Oct 30 02:06:43 2012
@@ -53,7 +53,7 @@ import static org.apache.sis.util.Charac
  * @see java.io.FilterWriter
  */
 @Decorator(Appendable.class)
-public abstract class FilteredAppendable implements Appendable {
+abstract class FilteredAppendable implements Appendable {
     /**
      * The underlying character output stream or buffer.
      */

Modified: sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/io/IO.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/io/IO.java?rev=1403605&r1=1403604&r2=1403605&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/io/IO.java (original)
+++ sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/io/IO.java Tue Oct 30 02:06:43
2012
@@ -43,10 +43,10 @@ public final class IO extends Static {
 
     /**
      * If the given {@code out} argument implements {@link Flushable}, or is a chain
-     * of {@link FilteredAppendable} wrappers around a flushable object, invokes the
+     * of wrappers defined in this package around a flushable object, invokes the
      * {@link Flushable#flush() flush()} method on that object. Otherwise do nothing.
      *
-     * <p>Chains of {@code FilteredAppendable} instances are followed until a {@code
Flushable}
+     * <p>Chains of wrappers are followed until a {@code Flushable}
      * instance is found, if any. The search stops at the first occurrence found.</p>
      *
      * @param  out The stream or buffer to flush, or {@code null}.
@@ -64,10 +64,10 @@ public final class IO extends Static {
 
     /**
      * If the given {@code out} argument implements {@link Closeable}, or is a chain
-     * of {@link FilteredAppendable} wrappers around a closeable object, invokes the
+     * of wrappers defined in this package around a closeable object, invokes the
      * {@link Closeable#close() close()} method on that object. Otherwise do nothing.
      *
-     * <p>Chains of {@code FilteredAppendable} instances are followed until a {@code
Closeable}
+     * <p>Chains of wrappers are followed until a {@code Closeable}
      * instance is found, if any. The first {@link Flushable} instance found <em>before</em>
the
      * {@code Closeable} one, if any, is {@linkplain Flushable#flush() flushed}. The search
stops
      * at the first {@code Closeable} occurrence found.</p>
@@ -92,7 +92,7 @@ public final class IO extends Static {
 
     /**
      * If the given {@code out} argument implements {@link CharSequence}, or is a
-     * chain of {@link FilteredAppendable} wrappers around a {@code CharSequence},
+     * chain of wrappers defined in this package around a {@code CharSequence},
      * returns that character sequence. Otherwise returns {@code null}.
      *
      * <p>Special cases:</p>
@@ -117,7 +117,6 @@ public final class IO extends Static {
      * @return The content of the given stream of buffer, or {@code null} if unavailable.
      *
      * @see #flush(Appendable)
-     * @see FilteredAppendable#toString()
      */
     public static CharSequence content(Appendable out) {
         while (!(out instanceof CharSequence)) {

Modified: sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/io/LineFormatter.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/io/LineFormatter.java?rev=1403605&r1=1403604&r2=1403605&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/io/LineFormatter.java (original)
+++ sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/io/LineFormatter.java Tue Oct
30 02:06:43 2012
@@ -154,7 +154,7 @@ public class LineFormatter extends Filte
      *
      * <ul>
      *   <li>{@link #setMaximalLineLength(int)}</li>
-     *   <li>{@link #setTabulationExpanded(boolean)</li>
+     *   <li>{@link #setTabulationExpanded(boolean)}</li>
      *   <li>{@link #setLineSeparator(String)}</li>
      * </ul>
      *



Mime
View raw message