You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2017/09/27 18:00:10 UTC
[2/3] commons-io git commit: Remove trailing spaces.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/input/SwappedDataInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/SwappedDataInputStream.java b/src/main/java/org/apache/commons/io/input/SwappedDataInputStream.java
index 032daab..3c12a20 100644
--- a/src/main/java/org/apache/commons/io/input/SwappedDataInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/SwappedDataInputStream.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,8 +27,8 @@ import org.apache.commons.io.EndianUtils;
/**
* DataInput for systems relying on little endian data formats.
- * When read, values will be changed from little endian to big
- * endian formats for internal usage.
+ * When read, values will be changed from little endian to big
+ * endian formats for internal usage.
* <p>
* <b>Origin of code: </b>Avalon Excalibur (IO)
*
@@ -87,7 +87,7 @@ public class SwappedDataInputStream extends ProxyInputStream
}
/**
- * Delegates to {@link EndianUtils#readSwappedDouble(InputStream)}.
+ * Delegates to {@link EndianUtils#readSwappedDouble(InputStream)}.
* @return the read long
* @throws IOException if an I/O error occurs
* @throws EOFException if an end of file is reached unexpectedly
@@ -100,7 +100,7 @@ public class SwappedDataInputStream extends ProxyInputStream
}
/**
- * Delegates to {@link EndianUtils#readSwappedFloat(InputStream)}.
+ * Delegates to {@link EndianUtils#readSwappedFloat(InputStream)}.
* @return the read long
* @throws IOException if an I/O error occurs
* @throws EOFException if an end of file is reached unexpectedly
@@ -114,7 +114,7 @@ public class SwappedDataInputStream extends ProxyInputStream
/**
* Invokes the delegate's <code>read(byte[] data, int, int)</code> method.
- *
+ *
* @param data the buffer to read the bytes into
* @throws EOFException if an end of file is reached unexpectedly
* @throws IOException if an I/O error occurs
@@ -129,7 +129,7 @@ public class SwappedDataInputStream extends ProxyInputStream
/**
* Invokes the delegate's <code>read(byte[] data, int, int)</code> method.
- *
+ *
* @param data the buffer to read the bytes into
* @param offset The start offset
* @param length The number of bytes to read
@@ -157,7 +157,7 @@ public class SwappedDataInputStream extends ProxyInputStream
}
/**
- * Delegates to {@link EndianUtils#readSwappedInteger(InputStream)}.
+ * Delegates to {@link EndianUtils#readSwappedInteger(InputStream)}.
* @return the read long
* @throws EOFException if an end of file is reached unexpectedly
* @throws IOException if an I/O error occurs
@@ -179,12 +179,12 @@ public class SwappedDataInputStream extends ProxyInputStream
public String readLine()
throws IOException, EOFException
{
- throw new UnsupportedOperationException(
+ throw new UnsupportedOperationException(
"Operation not supported: readLine()" );
}
/**
- * Delegates to {@link EndianUtils#readSwappedLong(InputStream)}.
+ * Delegates to {@link EndianUtils#readSwappedLong(InputStream)}.
* @return the read long
* @throws EOFException if an end of file is reached unexpectedly
* @throws IOException if an I/O error occurs
@@ -197,7 +197,7 @@ public class SwappedDataInputStream extends ProxyInputStream
}
/**
- * Delegates to {@link EndianUtils#readSwappedShort(InputStream)}.
+ * Delegates to {@link EndianUtils#readSwappedShort(InputStream)}.
* @return the read long
* @throws EOFException if an end of file is reached unexpectedly
* @throws IOException if an I/O error occurs
@@ -223,7 +223,7 @@ public class SwappedDataInputStream extends ProxyInputStream
}
/**
- * Delegates to {@link EndianUtils#readSwappedUnsignedShort(InputStream)}.
+ * Delegates to {@link EndianUtils#readSwappedUnsignedShort(InputStream)}.
* @return the read long
* @throws EOFException if an end of file is reached unexpectedly
* @throws IOException if an I/O error occurs
@@ -245,7 +245,7 @@ public class SwappedDataInputStream extends ProxyInputStream
public String readUTF()
throws IOException, EOFException
{
- throw new UnsupportedOperationException(
+ throw new UnsupportedOperationException(
"Operation not supported: readUTF()" );
}
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/input/TaggedInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/TaggedInputStream.java b/src/main/java/org/apache/commons/io/input/TaggedInputStream.java
index 451e2bd..d63ff90 100644
--- a/src/main/java/org/apache/commons/io/input/TaggedInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/TaggedInputStream.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -104,7 +104,7 @@ public class TaggedInputStream extends ProxyInputStream {
/**
* Tags any IOExceptions thrown, wrapping and re-throwing.
- *
+ *
* @param e The IOException thrown
* @throws IOException if an I/O error occurs
*/
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/input/Tailer.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/Tailer.java b/src/main/java/org/apache/commons/io/input/Tailer.java
index 9cb3887..a15fbf2 100644
--- a/src/main/java/org/apache/commons/io/input/Tailer.java
+++ b/src/main/java/org/apache/commons/io/input/Tailer.java
@@ -29,7 +29,7 @@ import org.apache.commons.io.FileUtils;
/**
* Simple implementation of the unix "tail -f" functionality.
- *
+ *
* <h2>1. Create a TailerListener implementation</h2>
* <p>
* First you need to create a {@link TailerListener} implementation
@@ -261,7 +261,7 @@ public class Tailer implements Runnable {
this.listener = listener;
listener.init(this);
this.reOpen = reOpen;
- this.cset = cset;
+ this.cset = cset;
}
/**
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/input/TeeInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/TeeInputStream.java b/src/main/java/org/apache/commons/io/input/TeeInputStream.java
index 52edb0c..a2b45f1 100644
--- a/src/main/java/org/apache/commons/io/input/TeeInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/TeeInputStream.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -34,7 +34,7 @@ import java.io.OutputStream;
* stream will also closed.
*
* @since 1.4
- * @see ObservableInputStream
+ * @see ObservableInputStream
*/
public class TeeInputStream extends ProxyInputStream {
@@ -103,7 +103,7 @@ public class TeeInputStream extends ProxyInputStream {
* the associated output stream.
*
* @return next byte from the stream, or -1 if the stream has ended
- * @throws IOException if the stream could not be read (or written)
+ * @throws IOException if the stream could not be read (or written)
*/
@Override
public int read() throws IOException {
@@ -122,7 +122,7 @@ public class TeeInputStream extends ProxyInputStream {
* @param st start offset within the buffer
* @param end maximum number of bytes to read
* @return number of bytes read, or -1 if the stream has ended
- * @throws IOException if the stream could not be read (or written)
+ * @throws IOException if the stream could not be read (or written)
*/
@Override
public int read(final byte[] bts, final int st, final int end) throws IOException {
@@ -139,7 +139,7 @@ public class TeeInputStream extends ProxyInputStream {
*
* @param bts byte buffer
* @return number of bytes read, or -1 if the stream has ended
- * @throws IOException if the stream could not be read (or written)
+ * @throws IOException if the stream could not be read (or written)
*/
@Override
public int read(final byte[] bts) throws IOException {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/monitor/FileAlterationListener.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/monitor/FileAlterationListener.java b/src/main/java/org/apache/commons/io/monitor/FileAlterationListener.java
index cddac61..61d026b 100644
--- a/src/main/java/org/apache/commons/io/monitor/FileAlterationListener.java
+++ b/src/main/java/org/apache/commons/io/monitor/FileAlterationListener.java
@@ -21,7 +21,7 @@ import java.io.File;
* A listener that receives events of file system modifications.
* <p>
* Register {@link FileAlterationListener}s with a {@link FileAlterationObserver}.
- *
+ *
* @see FileAlterationObserver
* @version $Id$
* @since 2.0
@@ -37,42 +37,42 @@ public interface FileAlterationListener {
/**
* Directory created Event.
- *
+ *
* @param directory The directory created
*/
void onDirectoryCreate(final File directory);
/**
* Directory changed Event.
- *
+ *
* @param directory The directory changed
*/
void onDirectoryChange(final File directory);
/**
* Directory deleted Event.
- *
+ *
* @param directory The directory deleted
*/
void onDirectoryDelete(final File directory);
/**
* File created Event.
- *
+ *
* @param file The file created
*/
void onFileCreate(final File file);
/**
* File changed Event.
- *
+ *
* @param file The file changed
*/
void onFileChange(final File file);
/**
* File deleted Event.
- *
+ *
* @param file The file deleted
*/
void onFileDelete(final File file);
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/monitor/FileAlterationListenerAdaptor.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/monitor/FileAlterationListenerAdaptor.java b/src/main/java/org/apache/commons/io/monitor/FileAlterationListenerAdaptor.java
index d505ef4..bfdbf79 100644
--- a/src/main/java/org/apache/commons/io/monitor/FileAlterationListenerAdaptor.java
+++ b/src/main/java/org/apache/commons/io/monitor/FileAlterationListenerAdaptor.java
@@ -20,7 +20,7 @@ import java.io.File;
/**
* Convenience {@link FileAlterationListener} implementation that does nothing.
- *
+ *
* @see FileAlterationObserver
* @version $Id$
* @since 2.0
@@ -38,7 +38,7 @@ public class FileAlterationListenerAdaptor implements FileAlterationListener {
/**
* Directory created Event.
- *
+ *
* @param directory The directory created (ignored)
*/
@Override
@@ -47,7 +47,7 @@ public class FileAlterationListenerAdaptor implements FileAlterationListener {
/**
* Directory changed Event.
- *
+ *
* @param directory The directory changed (ignored)
*/
@Override
@@ -56,7 +56,7 @@ public class FileAlterationListenerAdaptor implements FileAlterationListener {
/**
* Directory deleted Event.
- *
+ *
* @param directory The directory deleted (ignored)
*/
@Override
@@ -65,7 +65,7 @@ public class FileAlterationListenerAdaptor implements FileAlterationListener {
/**
* File created Event.
- *
+ *
* @param file The file created (ignored)
*/
@Override
@@ -74,7 +74,7 @@ public class FileAlterationListenerAdaptor implements FileAlterationListener {
/**
* File changed Event.
- *
+ *
* @param file The file changed (ignored)
*/
@Override
@@ -83,7 +83,7 @@ public class FileAlterationListenerAdaptor implements FileAlterationListener {
/**
* File deleted Event.
- *
+ *
* @param file The file deleted (ignored)
*/
@Override
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/monitor/FileAlterationMonitor.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/monitor/FileAlterationMonitor.java b/src/main/java/org/apache/commons/io/monitor/FileAlterationMonitor.java
index e692425..3ef82df 100644
--- a/src/main/java/org/apache/commons/io/monitor/FileAlterationMonitor.java
+++ b/src/main/java/org/apache/commons/io/monitor/FileAlterationMonitor.java
@@ -23,7 +23,7 @@ import java.util.concurrent.ThreadFactory;
/**
* A runnable that spawns a monitoring thread triggering any
* registered {@link FileAlterationObserver} at a specified interval.
- *
+ *
* @see FileAlterationObserver
* @version $Id$
* @since 2.0
@@ -112,7 +112,7 @@ public final class FileAlterationMonitor implements Runnable {
/**
* Returns the set of {@link FileAlterationObserver} registered with
- * this monitor.
+ * this monitor.
*
* @return The set of {@link FileAlterationObserver}
*/
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java b/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java
index bcf1b51..a2a5a18 100644
--- a/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java
+++ b/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java
@@ -83,7 +83,7 @@ import org.apache.commons.io.comparator.NameFileComparator;
* noise from <i>unwanted</i> file system events.
* <p>
* <a href="http://commons.apache.org/io/">Commons IO</a> has a good range of
- * useful, ready made
+ * useful, ready made
* <a href="../filefilter/package-summary.html">File Filter</a>
* implementations for this purpose.
* <p>
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/monitor/FileEntry.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/monitor/FileEntry.java b/src/main/java/org/apache/commons/io/monitor/FileEntry.java
index bbd942b..32a7720 100644
--- a/src/main/java/org/apache/commons/io/monitor/FileEntry.java
+++ b/src/main/java/org/apache/commons/io/monitor/FileEntry.java
@@ -29,7 +29,7 @@ import java.io.Serializable;
* <li>Length (see {@link File#length()}) - directories treated as zero</li>
* <li>Children - contents of a directory (see {@link File#listFiles(java.io.FileFilter)})</li>
* </ul>
- *
+ *
* <h3>Custom Implementations</h3>
* <p>
* If the state of additional {@link File} attributes is required then create a custom
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/output/BrokenOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/BrokenOutputStream.java b/src/main/java/org/apache/commons/io/output/BrokenOutputStream.java
index 1f149ff..1bfb7a1 100644
--- a/src/main/java/org/apache/commons/io/output/BrokenOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/BrokenOutputStream.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/output/ChunkedOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/ChunkedOutputStream.java b/src/main/java/org/apache/commons/io/output/ChunkedOutputStream.java
index 995ca0d..7caffe2 100644
--- a/src/main/java/org/apache/commons/io/output/ChunkedOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/ChunkedOutputStream.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -56,7 +56,7 @@ public class ChunkedOutputStream extends FilterOutputStream {
/**
* Creates a new stream that uses a chunk size of {@link #DEFAULT_CHUNK_SIZE}.
- *
+ *
* @param stream the stream to wrap
*/
public ChunkedOutputStream(final OutputStream stream) {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/output/ChunkedWriter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/ChunkedWriter.java b/src/main/java/org/apache/commons/io/output/ChunkedWriter.java
index 13826de..dbb9f92 100644
--- a/src/main/java/org/apache/commons/io/output/ChunkedWriter.java
+++ b/src/main/java/org/apache/commons/io/output/ChunkedWriter.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/output/CloseShieldOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/CloseShieldOutputStream.java b/src/main/java/org/apache/commons/io/output/CloseShieldOutputStream.java
index f198e8f..74e0f93 100644
--- a/src/main/java/org/apache/commons/io/output/CloseShieldOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/CloseShieldOutputStream.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/output/CountingOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/CountingOutputStream.java b/src/main/java/org/apache/commons/io/output/CountingOutputStream.java
index 86e73c2..7ac8654 100644
--- a/src/main/java/org/apache/commons/io/output/CountingOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/CountingOutputStream.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -33,7 +33,7 @@ public class CountingOutputStream extends ProxyOutputStream {
/**
* Constructs a new CountingOutputStream.
- *
+ *
* @param out the OutputStream to write to
*/
public CountingOutputStream( final OutputStream out ) {
@@ -72,8 +72,8 @@ public class CountingOutputStream extends ProxyOutputStream {
return (int) result;
}
- /**
- * Set the byte count back to 0.
+ /**
+ * Set the byte count back to 0.
* <p>
* NOTE: From v1.3 this method throws an ArithmeticException if the
* count is greater than can be expressed by an <code>int</code>.
@@ -104,8 +104,8 @@ public class CountingOutputStream extends ProxyOutputStream {
return this.count;
}
- /**
- * Set the byte count back to 0.
+ /**
+ * Set the byte count back to 0.
* <p>
* NOTE: This method is an alternative for <code>resetCount()</code>.
* It was added because that method returns an integer which will
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/output/DemuxOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/DemuxOutputStream.java b/src/main/java/org/apache/commons/io/output/DemuxOutputStream.java
index 194385b..5eeb37d 100644
--- a/src/main/java/org/apache/commons/io/output/DemuxOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/DemuxOutputStream.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/output/FileWriterWithEncoding.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/FileWriterWithEncoding.java b/src/main/java/org/apache/commons/io/output/FileWriterWithEncoding.java
index d371895..87d8ce4 100644
--- a/src/main/java/org/apache/commons/io/output/FileWriterWithEncoding.java
+++ b/src/main/java/org/apache/commons/io/output/FileWriterWithEncoding.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -41,7 +41,7 @@ import org.apache.commons.io.FileUtils;
* is required then use the {@link java.io.FileWriter} directly, rather than
* this implementation.
* <p>
- *
+ *
*
* @since 1.4
* @version $Id$
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/output/ProxyOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/ProxyOutputStream.java b/src/main/java/org/apache/commons/io/output/ProxyOutputStream.java
index c3ccf66..145252e 100644
--- a/src/main/java/org/apache/commons/io/output/ProxyOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/ProxyOutputStream.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -21,8 +21,8 @@ import java.io.IOException;
import java.io.OutputStream;
/**
- * A Proxy stream which acts as expected, that is it passes the method
- * calls on to the proxied stream and doesn't change which methods are
+ * A Proxy stream which acts as expected, that is it passes the method
+ * calls on to the proxied stream and doesn't change which methods are
* being called. It is an alternative base class to FilterOutputStream
* to increase reusability.
* <p>
@@ -34,7 +34,7 @@ public class ProxyOutputStream extends FilterOutputStream {
/**
* Constructs a new ProxyOutputStream.
- *
+ *
* @param proxy the OutputStream to delegate to
*/
public ProxyOutputStream(final OutputStream proxy) {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/output/ProxyWriter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/ProxyWriter.java b/src/main/java/org/apache/commons/io/output/ProxyWriter.java
index 8d461e9..7262b72 100644
--- a/src/main/java/org/apache/commons/io/output/ProxyWriter.java
+++ b/src/main/java/org/apache/commons/io/output/ProxyWriter.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -21,10 +21,10 @@ import java.io.IOException;
import java.io.Writer;
/**
- * A Proxy stream which acts as expected, that is it passes the method
- * calls on to the proxied stream and doesn't change which methods are
+ * A Proxy stream which acts as expected, that is it passes the method
+ * calls on to the proxied stream and doesn't change which methods are
* being called. It is an alternative base class to FilterWriter
- * to increase reusability, because FilterWriter changes the
+ * to increase reusability, because FilterWriter changes the
* methods being called, such as write(char[]) to write(char[], int, int)
* and write(String) to write(String, int, int).
*
@@ -33,7 +33,7 @@ public class ProxyWriter extends FilterWriter {
/**
* Constructs a new ProxyWriter.
- *
+ *
* @param proxy the Writer to delegate to
*/
public ProxyWriter(final Writer proxy) {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/output/StringBuilderWriter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/StringBuilderWriter.java b/src/main/java/org/apache/commons/io/output/StringBuilderWriter.java
index b6d9212..b255519 100644
--- a/src/main/java/org/apache/commons/io/output/StringBuilderWriter.java
+++ b/src/main/java/org/apache/commons/io/output/StringBuilderWriter.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -53,7 +53,7 @@ public class StringBuilderWriter extends Writer implements Serializable {
/**
* Constructs a new instance with the specified {@link StringBuilder}.
- *
+ *
* <p>If {@code builder} is null a new instance with default capacity will be created.</p>
*
* @param builder The String builder. May be null.
@@ -101,7 +101,7 @@ public class StringBuilderWriter extends Writer implements Serializable {
}
/**
- * Closing this writer has no effect.
+ * Closing this writer has no effect.
*/
@Override
public void close() {
@@ -109,7 +109,7 @@ public class StringBuilderWriter extends Writer implements Serializable {
}
/**
- * Flushing this writer has no effect.
+ * Flushing this writer has no effect.
*/
@Override
public void flush() {
@@ -119,7 +119,7 @@ public class StringBuilderWriter extends Writer implements Serializable {
/**
* Writes a String to the {@link StringBuilder}.
- *
+ *
* @param value The value to write
*/
@Override
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/output/TaggedOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/TaggedOutputStream.java b/src/main/java/org/apache/commons/io/output/TaggedOutputStream.java
index ae63a7d..d24c08c 100644
--- a/src/main/java/org/apache/commons/io/output/TaggedOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/TaggedOutputStream.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/output/TeeOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/TeeOutputStream.java b/src/main/java/org/apache/commons/io/output/TeeOutputStream.java
index a917055..409c052 100644
--- a/src/main/java/org/apache/commons/io/output/TeeOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/TeeOutputStream.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -20,8 +20,8 @@ import java.io.IOException;
import java.io.OutputStream;
/**
- * Classic splitter of OutputStream. Named after the unix 'tee'
- * command. It allows a stream to be branched off so there
+ * Classic splitter of OutputStream. Named after the unix 'tee'
+ * command. It allows a stream to be branched off so there
* are now two streams.
*
*/
@@ -87,12 +87,12 @@ public class TeeOutputStream extends ProxyOutputStream {
/**
* Closes both output streams.
- *
+ *
* If closing the main output stream throws an exception, attempt to close the branch output stream.
- *
+ *
* If closing the main and branch output streams both throw exceptions, which exceptions is thrown by this method is
* currently unspecified and subject to change.
- *
+ *
* @throws IOException
* if an I/O error occurs
*/
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java b/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java
index 77729e8..843ec05 100644
--- a/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -225,10 +225,10 @@ public abstract class ThresholdingOutputStream
}
/**
- * Resets the byteCount to zero. You can call this from
- * {@link #thresholdReached()} if you want the event to be triggered again.
+ * Resets the byteCount to zero. You can call this from
+ * {@link #thresholdReached()} if you want the event to be triggered again.
*/
- protected void resetByteCount()
+ protected void resetByteCount()
{
this.thresholdExceeded = false;
this.written = 0;
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/output/WriterOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/WriterOutputStream.java b/src/main/java/org/apache/commons/io/output/WriterOutputStream.java
index 5838283..6d10c55 100644
--- a/src/main/java/org/apache/commons/io/output/WriterOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/WriterOutputStream.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -65,9 +65,9 @@ import java.nio.charset.CodingErrorAction;
* character data that must be decoded for further use.
* <p>
* Instances of {@link WriterOutputStream} are not thread safe.
- *
+ *
* @see org.apache.commons.io.input.ReaderInputStream
- *
+ *
* @since 2.0
*/
public class WriterOutputStream extends OutputStream {
@@ -95,7 +95,7 @@ public class WriterOutputStream extends OutputStream {
* Constructs a new {@link WriterOutputStream} with a default output buffer size of
* 1024 characters. The output buffer will only be flushed when it overflows or when
* {@link #flush()} or {@link #close()} is called.
- *
+ *
* @param writer the target {@link Writer}
* @param decoder the charset decoder
* @since 2.1
@@ -106,7 +106,7 @@ public class WriterOutputStream extends OutputStream {
/**
* Constructs a new {@link WriterOutputStream}.
- *
+ *
* @param writer the target {@link Writer}
* @param decoder the charset decoder
* @param bufferSize the size of the output buffer in number of characters
@@ -128,7 +128,7 @@ public class WriterOutputStream extends OutputStream {
/**
* Constructs a new {@link WriterOutputStream}.
- *
+ *
* @param writer the target {@link Writer}
* @param charset the charset encoding
* @param bufferSize the size of the output buffer in number of characters
@@ -153,7 +153,7 @@ public class WriterOutputStream extends OutputStream {
* Constructs a new {@link WriterOutputStream} with a default output buffer size of
* 1024 characters. The output buffer will only be flushed when it overflows or when
* {@link #flush()} or {@link #close()} is called.
- *
+ *
* @param writer the target {@link Writer}
* @param charset the charset encoding
*/
@@ -163,7 +163,7 @@ public class WriterOutputStream extends OutputStream {
/**
* Constructs a new {@link WriterOutputStream}.
- *
+ *
* @param writer the target {@link Writer}
* @param charsetName the name of the charset encoding
* @param bufferSize the size of the output buffer in number of characters
@@ -182,7 +182,7 @@ public class WriterOutputStream extends OutputStream {
* Constructs a new {@link WriterOutputStream} with a default output buffer size of
* 1024 characters. The output buffer will only be flushed when it overflows or when
* {@link #flush()} or {@link #close()} is called.
- *
+ *
* @param writer the target {@link Writer}
* @param charsetName the name of the charset encoding
*/
@@ -194,7 +194,7 @@ public class WriterOutputStream extends OutputStream {
* Constructs a new {@link WriterOutputStream} that uses the default character encoding
* and with a default output buffer size of 1024 characters. The output buffer will only
* be flushed when it overflows or when {@link #flush()} or {@link #close()} is called.
- *
+ *
* @param writer the target {@link Writer}
* @deprecated 2.5 use {@link #WriterOutputStream(Writer, Charset)} instead
*/
@@ -205,7 +205,7 @@ public class WriterOutputStream extends OutputStream {
/**
* Write bytes from the specified byte array to the stream.
- *
+ *
* @param b the byte array containing the bytes to write
* @param off the start offset in the byte array
* @param len the number of bytes to write
@@ -227,7 +227,7 @@ public class WriterOutputStream extends OutputStream {
/**
* Write bytes from the specified byte array to the stream.
- *
+ *
* @param b the byte array containing the bytes to write
* @throws IOException if an I/O error occurs
*/
@@ -238,7 +238,7 @@ public class WriterOutputStream extends OutputStream {
/**
* Write a single byte to the stream.
- *
+ *
* @param b the byte to write
* @throws IOException if an I/O error occurs
*/
@@ -250,7 +250,7 @@ public class WriterOutputStream extends OutputStream {
/**
* Flush the stream. Any remaining content accumulated in the output buffer
* will be written to the underlying {@link Writer}. After that
- * {@link Writer#flush()} will be called.
+ * {@link Writer#flush()} will be called.
* @throws IOException if an I/O error occurs
*/
@Override
@@ -262,7 +262,7 @@ public class WriterOutputStream extends OutputStream {
/**
* Close the stream. Any remaining content accumulated in the output buffer
* will be written to the underlying {@link Writer}. After that
- * {@link Writer#close()} will be called.
+ * {@link Writer#close()} will be called.
* @throws IOException if an I/O error occurs
*/
@Override
@@ -274,7 +274,7 @@ public class WriterOutputStream extends OutputStream {
/**
* Decode the contents of the input ByteBuffer into a CharBuffer.
- *
+ *
* @param endOfInput indicates end of input
* @throws IOException if an I/O error occurs
*/
@@ -300,7 +300,7 @@ public class WriterOutputStream extends OutputStream {
/**
* Flush the output.
- *
+ *
* @throws IOException if an I/O error occurs
*/
private void flushOutput() throws IOException {
@@ -312,7 +312,7 @@ public class WriterOutputStream extends OutputStream {
/**
* Check if the JDK in use properly supports the given charset.
- *
+ *
* @param charset the charset to check the support for
*/
private static void checkIbmJdkWithBrokenUTF16(Charset charset){
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java b/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java
index 53454ab..d352ad0 100644
--- a/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java
+++ b/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java
@@ -74,7 +74,7 @@ public class XmlStreamWriter extends Writer {
/**
* Constructs a new XML stream writer for the specified file
* with a default encoding of UTF-8.
- *
+ *
* @param file The file to write to
* @throws FileNotFoundException if there is an error creating or
* opening the file
@@ -86,7 +86,7 @@ public class XmlStreamWriter extends Writer {
/**
* Constructs a new XML stream writer for the specified file
* with the specified default encoding.
- *
+ *
* @param file The file to write to
* @param defaultEncoding The default encoding if not encoding could be detected
* @throws FileNotFoundException if there is an error creating or
@@ -200,7 +200,7 @@ public class XmlStreamWriter extends Writer {
/**
* Writes the characters to the underlying writer, detecting encoding.
- *
+ *
* @param cbuf the buffer to write the characters from
* @param off The start offset
* @param len The number of characters to write
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/serialization/ClassNameMatcher.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/serialization/ClassNameMatcher.java b/src/main/java/org/apache/commons/io/serialization/ClassNameMatcher.java
index 00c2a65..bdef717 100644
--- a/src/main/java/org/apache/commons/io/serialization/ClassNameMatcher.java
+++ b/src/main/java/org/apache/commons/io/serialization/ClassNameMatcher.java
@@ -24,8 +24,8 @@ package org.apache.commons.io.serialization;
public interface ClassNameMatcher {
/**
- * Returns <code>true</code> if the supplied class name matches this object's condition.
- *
+ * Returns <code>true</code> if the supplied class name matches this object's condition.
+ *
* @param className fully qualified class name
* @return <code>true</code> if the class name matches this object's condition
*/
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/serialization/FullClassNameMatcher.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/serialization/FullClassNameMatcher.java b/src/main/java/org/apache/commons/io/serialization/FullClassNameMatcher.java
index 61ba942..30f9db7 100644
--- a/src/main/java/org/apache/commons/io/serialization/FullClassNameMatcher.java
+++ b/src/main/java/org/apache/commons/io/serialization/FullClassNameMatcher.java
@@ -35,7 +35,7 @@ final class FullClassNameMatcher implements ClassNameMatcher {
/**
* Constructs an object based on the specified class names.
- *
+ *
* @param classes a list of class names
*/
public FullClassNameMatcher(String... classes) {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/serialization/RegexpClassNameMatcher.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/serialization/RegexpClassNameMatcher.java b/src/main/java/org/apache/commons/io/serialization/RegexpClassNameMatcher.java
index 2b8d18f..3660c72 100644
--- a/src/main/java/org/apache/commons/io/serialization/RegexpClassNameMatcher.java
+++ b/src/main/java/org/apache/commons/io/serialization/RegexpClassNameMatcher.java
@@ -32,7 +32,7 @@ final class RegexpClassNameMatcher implements ClassNameMatcher {
/**
* Constructs an object based on the specified regular expression.
- *
+ *
* @param regex a regular expression for evaluating acceptable class names
*/
public RegexpClassNameMatcher(String regex) {
@@ -41,7 +41,7 @@ final class RegexpClassNameMatcher implements ClassNameMatcher {
/**
* Constructs an object based on the specified pattern.
- *
+ *
* @param pattern a pattern for evaluating acceptable class names
* @throws IllegalArgumentException if <code>pattern</code> is null
*/
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/serialization/ValidatingObjectInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/serialization/ValidatingObjectInputStream.java b/src/main/java/org/apache/commons/io/serialization/ValidatingObjectInputStream.java
index 0b420ba..f7ced46 100644
--- a/src/main/java/org/apache/commons/io/serialization/ValidatingObjectInputStream.java
+++ b/src/main/java/org/apache/commons/io/serialization/ValidatingObjectInputStream.java
@@ -35,7 +35,7 @@ import java.util.regex.Pattern;
* Various accept/reject methods allow for specifying which classes
* can be deserialized.
* </p>
- *
+ *
* <p>
* Design inspired by <a
* href="http://www.ibm.com/developerworks/library/se-lookahead/">IBM
@@ -49,9 +49,9 @@ public class ValidatingObjectInputStream extends ObjectInputStream {
/**
* Constructs an object to deserialize the specified input stream.
* At least one accept method needs to be called to specify which
- * classes can be deserialized, as by default no classes are
- * accepted.
- *
+ * classes can be deserialized, as by default no classes are
+ * accepted.
+ *
* @param input an input stream
* @throws IOException if an I/O error occurs while reading stream header
*/
@@ -87,8 +87,8 @@ public class ValidatingObjectInputStream extends ObjectInputStream {
* Called to throw <code>InvalidClassException</code> if an invalid
* class name is found during deserialization. Can be overridden, for example
* to log those class names.
- *
- * @param className name of the invalid class
+ *
+ * @param className name of the invalid class
* @throws InvalidClassException if the specified class is not allowed
*/
protected void invalidClassNameFound(String className) throws InvalidClassException {
@@ -102,9 +102,9 @@ public class ValidatingObjectInputStream extends ObjectInputStream {
}
/**
- * Accept the specified classes for deserialization, unless they
+ * Accept the specified classes for deserialization, unless they
* are otherwise rejected.
- *
+ *
* @param classes Classes to accept
* @return this object
*/
@@ -116,9 +116,9 @@ public class ValidatingObjectInputStream extends ObjectInputStream {
}
/**
- * Reject the specified classes for deserialization, even if they
+ * Reject the specified classes for deserialization, even if they
* are otherwise accepted.
- *
+ *
* @param classes Classes to reject
* @return this object
*/
@@ -145,9 +145,9 @@ public class ValidatingObjectInputStream extends ObjectInputStream {
}
/**
- * Reject the wildcard specified classes for deserialization,
+ * Reject the wildcard specified classes for deserialization,
* even if they are otherwise accepted.
- *
+ *
* @param patterns Wildcard filename patterns as defined by
* {@link org.apache.commons.io.FilenameUtils#wildcardMatch(String, String) FilenameUtils.wildcardMatch}
* @return this object
@@ -159,10 +159,10 @@ public class ValidatingObjectInputStream extends ObjectInputStream {
return this;
}
- /**
+ /**
* Accept class names that match the supplied pattern for
* deserialization, unless they are otherwise rejected.
- *
+ *
* @param pattern standard Java regexp
* @return this object
*/
@@ -174,7 +174,7 @@ public class ValidatingObjectInputStream extends ObjectInputStream {
/**
* Reject class names that match the supplied pattern for
* deserialization, even if they are otherwise accepted.
- *
+ *
* @param pattern standard Java regexp
* @return this object
*/
@@ -186,7 +186,7 @@ public class ValidatingObjectInputStream extends ObjectInputStream {
/**
* Accept class names where the supplied ClassNameMatcher matches for
* deserialization, unless they are otherwise rejected.
- *
+ *
* @param m the matcher to use
* @return this object
*/
@@ -198,7 +198,7 @@ public class ValidatingObjectInputStream extends ObjectInputStream {
/**
* Reject class names where the supplied ClassNameMatcher matches for
* deserialization, even if they are otherwise accepted.
- *
+ *
* @param m the matcher to use
* @return this object
*/
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/serialization/WildcardClassNameMatcher.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/serialization/WildcardClassNameMatcher.java b/src/main/java/org/apache/commons/io/serialization/WildcardClassNameMatcher.java
index 98a1fc7..c130c83 100644
--- a/src/main/java/org/apache/commons/io/serialization/WildcardClassNameMatcher.java
+++ b/src/main/java/org/apache/commons/io/serialization/WildcardClassNameMatcher.java
@@ -26,20 +26,20 @@ import org.apache.commons.io.FilenameUtils;
* <p>
* This object is immutable and thread-safe.
* </p>
- */
+ */
final class WildcardClassNameMatcher implements ClassNameMatcher {
private final String pattern;
/**
* Constructs an object based on the specified simplified regular expression.
- *
+ *
* @param pattern a {@link FilenameUtils#wildcardMatch} pattern.
*/
public WildcardClassNameMatcher(String pattern) {
this.pattern = pattern;
}
-
+
@Override
public boolean matches(String className) {
return FilenameUtils.wildcardMatch(className, pattern);
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/CharsetsTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/CharsetsTestCase.java b/src/test/java/org/apache/commons/io/CharsetsTestCase.java
index e6016be..ae6639c 100644
--- a/src/test/java/org/apache/commons/io/CharsetsTestCase.java
+++ b/src/test/java/org/apache/commons/io/CharsetsTestCase.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/DemuxTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/DemuxTestCase.java b/src/test/java/org/apache/commons/io/DemuxTestCase.java
index 952405c..e8f3230 100644
--- a/src/test/java/org/apache/commons/io/DemuxTestCase.java
+++ b/src/test/java/org/apache/commons/io/DemuxTestCase.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/DirectoryWalkerTestCaseJava4.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/DirectoryWalkerTestCaseJava4.java b/src/test/java/org/apache/commons/io/DirectoryWalkerTestCaseJava4.java
index 7ea5cd4..e9931be 100644
--- a/src/test/java/org/apache/commons/io/DirectoryWalkerTestCaseJava4.java
+++ b/src/test/java/org/apache/commons/io/DirectoryWalkerTestCaseJava4.java
@@ -271,7 +271,7 @@ public class DirectoryWalkerTestCaseJava4 {
/**
* Test Cancel
- * @throws IOException
+ * @throws IOException
*/
@Test
public void testCancel() throws IOException {
@@ -305,7 +305,7 @@ public class DirectoryWalkerTestCaseJava4 {
/**
* Test Cancel
- * @throws IOException
+ * @throws IOException
*/
@Test
public void testMultiThreadCancel() throws IOException {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/FileCleanerTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/FileCleanerTestCase.java b/src/test/java/org/apache/commons/io/FileCleanerTestCase.java
index 08a4db8..0284cb5 100644
--- a/src/test/java/org/apache/commons/io/FileCleanerTestCase.java
+++ b/src/test/java/org/apache/commons/io/FileCleanerTestCase.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java b/src/test/java/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java
index ff230ca..3d2c42c 100644
--- a/src/test/java/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java
+++ b/src/test/java/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/FileUtilsCleanSymlinksTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/FileUtilsCleanSymlinksTestCase.java b/src/test/java/org/apache/commons/io/FileUtilsCleanSymlinksTestCase.java
index 34f60ec..ad748e9 100644
--- a/src/test/java/org/apache/commons/io/FileUtilsCleanSymlinksTestCase.java
+++ b/src/test/java/org/apache/commons/io/FileUtilsCleanSymlinksTestCase.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/FileUtilsDirectoryContainsTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/FileUtilsDirectoryContainsTestCase.java b/src/test/java/org/apache/commons/io/FileUtilsDirectoryContainsTestCase.java
index 4daf3eb..6439f33 100644
--- a/src/test/java/org/apache/commons/io/FileUtilsDirectoryContainsTestCase.java
+++ b/src/test/java/org/apache/commons/io/FileUtilsDirectoryContainsTestCase.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -30,7 +30,7 @@ import static org.junit.Assert.fail;
/**
* This class ensure the correctness of {@link FileUtils#directoryContains(File,File)}.
- *
+ *
* @see FileUtils#directoryContains(File, File)
* @since 2.2
* @version $Id$
@@ -40,10 +40,10 @@ public class FileUtilsDirectoryContainsTestCase extends FileBasedTestCase {
private File directory1;
private File directory2;
private File directory3;
- private File file1;
- private File file1ByRelativeDirectory2;
- private File file2;
- private File file2ByRelativeDirectory1;
+ private File file1;
+ private File file1ByRelativeDirectory2;
+ private File file2;
+ private File file2ByRelativeDirectory1;
private File file3;
final File top = getTestDirectory();
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/FileUtilsFileNewerTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/FileUtilsFileNewerTestCase.java b/src/test/java/org/apache/commons/io/FileUtilsFileNewerTestCase.java
index d0b4824..5e6d744 100644
--- a/src/test/java/org/apache/commons/io/FileUtilsFileNewerTestCase.java
+++ b/src/test/java/org/apache/commons/io/FileUtilsFileNewerTestCase.java
@@ -118,7 +118,7 @@ public class FileUtilsFileNewerTestCase extends FileBasedTestCase {
/**
* Tests the <code>isFileNewer(File, *)</code> methods which the specified conditions.
- *
+ *
* Creates :
* <ul>
* <li>a <code>Date</code> which represents the time reference</li>
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/FileUtilsWaitForTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/FileUtilsWaitForTestCase.java b/src/test/java/org/apache/commons/io/FileUtilsWaitForTestCase.java
index 3d31acf..705718a 100644
--- a/src/test/java/org/apache/commons/io/FileUtilsWaitForTestCase.java
+++ b/src/test/java/org/apache/commons/io/FileUtilsWaitForTestCase.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/HexDumpTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/HexDumpTest.java b/src/test/java/org/apache/commons/io/HexDumpTest.java
index 7e3a1e6..82f0c3e 100644
--- a/src/test/java/org/apache/commons/io/HexDumpTest.java
+++ b/src/test/java/org/apache/commons/io/HexDumpTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/IOUtilsTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/IOUtilsTestCase.java b/src/test/java/org/apache/commons/io/IOUtilsTestCase.java
index bfbd6da..e62450a 100644
--- a/src/test/java/org/apache/commons/io/IOUtilsTestCase.java
+++ b/src/test/java/org/apache/commons/io/IOUtilsTestCase.java
@@ -1493,9 +1493,9 @@ public class IOUtilsTestCase extends FileBasedTestCase {
assertSame(bw, IOUtils.buffer(bw));
assertSame(bw, IOUtils.buffer(bw, 1024));
}
-
-
- @Test
+
+
+ @Test
public void testCopyLarge_SkipWithInvalidOffset() throws IOException {
ByteArrayInputStream is = null;
ByteArrayOutputStream os = null;
@@ -1520,5 +1520,5 @@ public class IOUtilsTestCase extends FileBasedTestCase {
IOUtils.closeQuietly(os);
}
}
-
+
}
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/LineIteratorTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/LineIteratorTestCase.java b/src/test/java/org/apache/commons/io/LineIteratorTestCase.java
index c376f1c..55f3269 100644
--- a/src/test/java/org/apache/commons/io/LineIteratorTestCase.java
+++ b/src/test/java/org/apache/commons/io/LineIteratorTestCase.java
@@ -319,7 +319,7 @@ public class LineIteratorTestCase extends FileBasedTestCase {
*
* @param lineCount the lines to create in the test file
*
- * @throws IOException If an I/O error occurs while creating the file
+ * @throws IOException If an I/O error occurs while creating the file
*/
private void doTestFileWithSpecifiedLines(final int lineCount) throws IOException {
final String encoding = "UTF-8";
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/ThreadMonitorTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/ThreadMonitorTestCase.java b/src/test/java/org/apache/commons/io/ThreadMonitorTestCase.java
index 784c50d..8e1b85c 100644
--- a/src/test/java/org/apache/commons/io/ThreadMonitorTestCase.java
+++ b/src/test/java/org/apache/commons/io/ThreadMonitorTestCase.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/comparator/ComparatorAbstractTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/comparator/ComparatorAbstractTestCase.java b/src/test/java/org/apache/commons/io/comparator/ComparatorAbstractTestCase.java
index a019b38..3d919bd 100644
--- a/src/test/java/org/apache/commons/io/comparator/ComparatorAbstractTestCase.java
+++ b/src/test/java/org/apache/commons/io/comparator/ComparatorAbstractTestCase.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/comparator/CompositeFileComparatorTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/comparator/CompositeFileComparatorTest.java b/src/test/java/org/apache/commons/io/comparator/CompositeFileComparatorTest.java
index 1f95e90..26610c6 100644
--- a/src/test/java/org/apache/commons/io/comparator/CompositeFileComparatorTest.java
+++ b/src/test/java/org/apache/commons/io/comparator/CompositeFileComparatorTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/comparator/DefaultFileComparatorTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/comparator/DefaultFileComparatorTest.java b/src/test/java/org/apache/commons/io/comparator/DefaultFileComparatorTest.java
index bbf0f74..89ce2b0 100644
--- a/src/test/java/org/apache/commons/io/comparator/DefaultFileComparatorTest.java
+++ b/src/test/java/org/apache/commons/io/comparator/DefaultFileComparatorTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/comparator/DirectoryFileComparatorTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/comparator/DirectoryFileComparatorTest.java b/src/test/java/org/apache/commons/io/comparator/DirectoryFileComparatorTest.java
index a24428e..2128d07 100644
--- a/src/test/java/org/apache/commons/io/comparator/DirectoryFileComparatorTest.java
+++ b/src/test/java/org/apache/commons/io/comparator/DirectoryFileComparatorTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/comparator/ExtensionFileComparatorTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/comparator/ExtensionFileComparatorTest.java b/src/test/java/org/apache/commons/io/comparator/ExtensionFileComparatorTest.java
index 79d84b5..cd47ab9 100644
--- a/src/test/java/org/apache/commons/io/comparator/ExtensionFileComparatorTest.java
+++ b/src/test/java/org/apache/commons/io/comparator/ExtensionFileComparatorTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/comparator/LastModifiedFileComparatorTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/comparator/LastModifiedFileComparatorTest.java b/src/test/java/org/apache/commons/io/comparator/LastModifiedFileComparatorTest.java
index 64ea65f..0a5ded2 100644
--- a/src/test/java/org/apache/commons/io/comparator/LastModifiedFileComparatorTest.java
+++ b/src/test/java/org/apache/commons/io/comparator/LastModifiedFileComparatorTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/comparator/NameFileComparatorTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/comparator/NameFileComparatorTest.java b/src/test/java/org/apache/commons/io/comparator/NameFileComparatorTest.java
index 5214c5c..cabc0e2 100644
--- a/src/test/java/org/apache/commons/io/comparator/NameFileComparatorTest.java
+++ b/src/test/java/org/apache/commons/io/comparator/NameFileComparatorTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/comparator/PathFileComparatorTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/comparator/PathFileComparatorTest.java b/src/test/java/org/apache/commons/io/comparator/PathFileComparatorTest.java
index f84916e..0d9b0a1 100644
--- a/src/test/java/org/apache/commons/io/comparator/PathFileComparatorTest.java
+++ b/src/test/java/org/apache/commons/io/comparator/PathFileComparatorTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/comparator/SizeFileComparatorTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/comparator/SizeFileComparatorTest.java b/src/test/java/org/apache/commons/io/comparator/SizeFileComparatorTest.java
index aaf41e6..88b60ec 100644
--- a/src/test/java/org/apache/commons/io/comparator/SizeFileComparatorTest.java
+++ b/src/test/java/org/apache/commons/io/comparator/SizeFileComparatorTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/input/AutoCloseInputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/input/AutoCloseInputStreamTest.java b/src/test/java/org/apache/commons/io/input/AutoCloseInputStreamTest.java
index 935c886..0d35bdd 100644
--- a/src/test/java/org/apache/commons/io/input/AutoCloseInputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/input/AutoCloseInputStreamTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/input/BoundedInputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/input/BoundedInputStreamTest.java b/src/test/java/org/apache/commons/io/input/BoundedInputStreamTest.java
index 0df80d4..cf74faa 100644
--- a/src/test/java/org/apache/commons/io/input/BoundedInputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/input/BoundedInputStreamTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/input/BrokenInputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/input/BrokenInputStreamTest.java b/src/test/java/org/apache/commons/io/input/BrokenInputStreamTest.java
index 3b35d0c..0392be4 100644
--- a/src/test/java/org/apache/commons/io/input/BrokenInputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/input/BrokenInputStreamTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/input/CharSequenceReaderTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/input/CharSequenceReaderTest.java b/src/test/java/org/apache/commons/io/input/CharSequenceReaderTest.java
index 78ad2bf..b049491 100644
--- a/src/test/java/org/apache/commons/io/input/CharSequenceReaderTest.java
+++ b/src/test/java/org/apache/commons/io/input/CharSequenceReaderTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -116,7 +116,7 @@ public class CharSequenceReaderTest {
private void checkRead(final Reader reader, final String expected) throws IOException {
for (int i = 0; i < expected.length(); i++) {
- assertEquals("Read[" + i + "] of '" + expected + "'",
+ assertEquals("Read[" + i + "] of '" + expected + "'",
expected.charAt(i), (char)reader.read());
}
}
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/input/CloseShieldInputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/input/CloseShieldInputStreamTest.java b/src/test/java/org/apache/commons/io/input/CloseShieldInputStreamTest.java
index 55e56fd..640d824 100644
--- a/src/test/java/org/apache/commons/io/input/CloseShieldInputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/input/CloseShieldInputStreamTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/input/ClosedInputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/input/ClosedInputStreamTest.java b/src/test/java/org/apache/commons/io/input/ClosedInputStreamTest.java
index b10ebd7..64c557e 100644
--- a/src/test/java/org/apache/commons/io/input/ClosedInputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/input/ClosedInputStreamTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/input/MessageDigestCalculatingInputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/input/MessageDigestCalculatingInputStreamTest.java b/src/test/java/org/apache/commons/io/input/MessageDigestCalculatingInputStreamTest.java
index 12542a2..f6d1471 100644
--- a/src/test/java/org/apache/commons/io/input/MessageDigestCalculatingInputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/input/MessageDigestCalculatingInputStreamTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/input/ObservableInputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/input/ObservableInputStreamTest.java b/src/test/java/org/apache/commons/io/input/ObservableInputStreamTest.java
index 992e915..4124cac 100644
--- a/src/test/java/org/apache/commons/io/input/ObservableInputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/input/ObservableInputStreamTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -36,13 +36,13 @@ public class ObservableInputStreamTest {
super.data(pByte);
lastByteSeen = pByte;
}
-
+
@Override
void finished() throws IOException {
super.finished();
finished = true;
}
-
+
@Override
void closed() throws IOException {
super.closed();
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/input/ProxyReaderTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/input/ProxyReaderTest.java b/src/test/java/org/apache/commons/io/input/ProxyReaderTest.java
index fd1d960..7cd8f3a 100644
--- a/src/test/java/org/apache/commons/io/input/ProxyReaderTest.java
+++ b/src/test/java/org/apache/commons/io/input/ProxyReaderTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -23,7 +23,7 @@ import java.io.Reader;
import java.nio.CharBuffer;
/**
- * Test {@link ProxyReader}.
+ * Test {@link ProxyReader}.
*
*/
public class ProxyReaderTest {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/input/SwappedDataInputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/input/SwappedDataInputStreamTest.java b/src/test/java/org/apache/commons/io/input/SwappedDataInputStreamTest.java
index 1cad1bf..2527fea 100644
--- a/src/test/java/org/apache/commons/io/input/SwappedDataInputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/input/SwappedDataInputStreamTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -29,7 +29,7 @@ import static org.junit.Assert.fail;
/**
- * Test for the SwappedDataInputStream. This also
+ * Test for the SwappedDataInputStream. This also
* effectively tests the underlying EndianUtils Stream methods.
*
*/
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/input/TaggedInputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/input/TaggedInputStreamTest.java b/src/test/java/org/apache/commons/io/input/TaggedInputStreamTest.java
index 4bd25fe..6e3e659 100644
--- a/src/test/java/org/apache/commons/io/input/TaggedInputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/input/TaggedInputStreamTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.