commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1311751 - in /commons/proper/io/trunk/src: main/java/org/apache/commons/io/Charsets.java test/java/org/apache/commons/io/DirectoryWalkerTestCase.java
Date Tue, 10 Apr 2012 14:26:22 GMT
Author: ggregory
Date: Tue Apr 10 14:26:21 2012
New Revision: 1311751

URL: http://svn.apache.org/viewvc?rev=1311751&view=rev
Log:
Fix Checkstyle line length > 120 and organize imports.

Modified:
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/Charsets.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCase.java

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/Charsets.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/Charsets.java?rev=1311751&r1=1311750&r2=1311751&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/Charsets.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/Charsets.java Tue Apr 10 14:26:21
2012
@@ -22,8 +22,8 @@ import java.nio.charset.UnsupportedChars
 /**
  * Charsets required of every implementation of the Java platform.
  * 
- * From the Java documentation <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
- * charsets</a>:
+ * From the Java documentation <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">
+ * Standard charsets</a>:
  * <p>
  * <cite>Every implementation of the Java platform is required to support the following
character encodings. Consult the
  * release documentation for your implementation to see if any other encodings are supported.
Consult the release
@@ -52,12 +52,12 @@ import java.nio.charset.UnsupportedChars
  */
 public class Charsets {
     //
-    // This class should only contain Charset instances for required encodings. This guarantees
that it will load correctly and
-    // without delay on all Java platforms.
+    // This class should only contain Charset instances for required encodings. This guarantees
that it will load
+    // correctly and without delay on all Java platforms.
     //
 
     /**
-     * Returns the given Charset or the default Charset if the given Charset is null. 
+     * Returns the given Charset or the default Charset if the given Charset is null.
      * 
      * @param charset
      *            A charset or null.

Modified: commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCase.java?rev=1311751&r1=1311750&r2=1311751&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCase.java
(original)
+++ commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCase.java
Tue Apr 10 14:26:21 2012
@@ -34,8 +34,6 @@ import org.apache.commons.io.filefilter.
 import org.apache.commons.io.filefilter.IOFileFilter;
 import org.apache.commons.io.filefilter.NameFileFilter;
 import org.apache.commons.io.filefilter.OrFileFilter;
-import org.junit.After;
-import org.junit.Before;
 import org.junit.Test;
 
 /**



Mime
View raw message