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:09 UTC
[1/3] commons-io git commit: Remove trailing spaces.
Repository: commons-io
Updated Branches:
refs/heads/master d00ff3a70 -> a768fe9aa
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/input/TailerTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/input/TailerTest.java b/src/test/java/org/apache/commons/io/input/TailerTest.java
index db50efa..a39289e 100644
--- a/src/test/java/org/apache/commons/io/input/TailerTest.java
+++ b/src/test/java/org/apache/commons/io/input/TailerTest.java
@@ -144,8 +144,8 @@ public class TailerTest extends FileBasedTestCase {
final String expected = lines.get(i);
final String actual = tailerlines.get(i);
if (!expected.equals(actual)) {
- fail("Line: " + i
- + "\nExp: (" + expected.length() + ") " + expected
+ fail("Line: " + i
+ + "\nExp: (" + expected.length() + ") " + expected
+ "\nAct: (" + actual.length() + ") "+ actual);
}
}
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/input/TeeInputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/input/TeeInputStreamTest.java b/src/test/java/org/apache/commons/io/input/TeeInputStreamTest.java
index 8d16ff9..f853d24 100644
--- a/src/test/java/org/apache/commons/io/input/TeeInputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/input/TeeInputStreamTest.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/compatibility/XmlStreamReaderUtilitiesCompatibilityTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/input/compatibility/XmlStreamReaderUtilitiesCompatibilityTest.java b/src/test/java/org/apache/commons/io/input/compatibility/XmlStreamReaderUtilitiesCompatibilityTest.java
index d1c7d10..63c7b16 100644
--- a/src/test/java/org/apache/commons/io/input/compatibility/XmlStreamReaderUtilitiesCompatibilityTest.java
+++ b/src/test/java/org/apache/commons/io/input/compatibility/XmlStreamReaderUtilitiesCompatibilityTest.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/monitor/AbstractMonitorTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/monitor/AbstractMonitorTestCase.java b/src/test/java/org/apache/commons/io/monitor/AbstractMonitorTestCase.java
index 9ec9869..d7ec41c 100644
--- a/src/test/java/org/apache/commons/io/monitor/AbstractMonitorTestCase.java
+++ b/src/test/java/org/apache/commons/io/monitor/AbstractMonitorTestCase.java
@@ -114,12 +114,12 @@ public abstract class AbstractMonitorTestCase {
* @param fileChange expected number of files changed
* @param fileDelete expected number of files deleted
*/
- protected void checkCollectionSizes(String label,
- final int dirCreate,
- final int dirChange,
- final int dirDelete,
- final int fileCreate,
- final int fileChange,
+ protected void checkCollectionSizes(String label,
+ final int dirCreate,
+ final int dirChange,
+ final int dirDelete,
+ final int fileCreate,
+ final int fileChange,
final int fileDelete) {
label = label + "[" + listener.getCreatedDirectories().size() +
" " + listener.getChangedDirectories().size() +
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/monitor/CollectionFileListener.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/monitor/CollectionFileListener.java b/src/test/java/org/apache/commons/io/monitor/CollectionFileListener.java
index e8c045b..773409c 100644
--- a/src/test/java/org/apache/commons/io/monitor/CollectionFileListener.java
+++ b/src/test/java/org/apache/commons/io/monitor/CollectionFileListener.java
@@ -125,7 +125,7 @@ public class CollectionFileListener implements FileAlterationListener, Serializa
/**
* Directory created Event.
- *
+ *
* @param directory The directory created
*/
@Override
@@ -135,7 +135,7 @@ public class CollectionFileListener implements FileAlterationListener, Serializa
/**
* Directory changed Event.
- *
+ *
* @param directory The directory changed
*/
@Override
@@ -145,7 +145,7 @@ public class CollectionFileListener implements FileAlterationListener, Serializa
/**
* Directory deleted Event.
- *
+ *
* @param directory The directory deleted
*/
@Override
@@ -155,7 +155,7 @@ public class CollectionFileListener implements FileAlterationListener, Serializa
/**
* File created Event.
- *
+ *
* @param file The file created
*/
@Override
@@ -165,7 +165,7 @@ public class CollectionFileListener implements FileAlterationListener, Serializa
/**
* File changed Event.
- *
+ *
* @param file The file changed
*/
@Override
@@ -175,7 +175,7 @@ public class CollectionFileListener implements FileAlterationListener, Serializa
/**
* File deleted Event.
- *
+ *
* @param file The file deleted
*/
@Override
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/monitor/FileAlterationMonitorTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/monitor/FileAlterationMonitorTestCase.java b/src/test/java/org/apache/commons/io/monitor/FileAlterationMonitorTestCase.java
index 0a3fa34..2faedf1 100644
--- a/src/test/java/org/apache/commons/io/monitor/FileAlterationMonitorTestCase.java
+++ b/src/test/java/org/apache/commons/io/monitor/FileAlterationMonitorTestCase.java
@@ -90,7 +90,7 @@ public class FileAlterationMonitorTestCase extends AbstractMonitorTestCase {
/**
* Test checkAndNotify() method
- * @throws Exception
+ * @throws Exception
*/
@Test
public void testMonitor() throws Exception {
@@ -138,7 +138,7 @@ public class FileAlterationMonitorTestCase extends AbstractMonitorTestCase {
/**
* Test using a thread factory.
- * @throws Exception
+ * @throws Exception
*/
@Test
public void testThreadFactory() throws Exception {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/monitor/FileAlterationObserverTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/monitor/FileAlterationObserverTestCase.java b/src/test/java/org/apache/commons/io/monitor/FileAlterationObserverTestCase.java
index 5e986a2..6840a6e 100644
--- a/src/test/java/org/apache/commons/io/monitor/FileAlterationObserverTestCase.java
+++ b/src/test/java/org/apache/commons/io/monitor/FileAlterationObserverTestCase.java
@@ -89,7 +89,7 @@ public class FileAlterationObserverTestCase extends AbstractMonitorTestCase {
/**
* Test checkAndNotify() method
- * @throws Exception
+ * @throws Exception
*/
@Test
public void testDirectory() throws Exception {
@@ -148,7 +148,7 @@ public class FileAlterationObserverTestCase extends AbstractMonitorTestCase {
/**
* Test checkAndNotify() creating
- * @throws Exception
+ * @throws Exception
*/
@Test
public void testFileCreate() throws Exception {
@@ -208,7 +208,7 @@ public class FileAlterationObserverTestCase extends AbstractMonitorTestCase {
/**
* Test checkAndNotify() creating
- * @throws Exception
+ * @throws Exception
*/
@Test
public void testFileUpdate() throws Exception {
@@ -265,7 +265,7 @@ public class FileAlterationObserverTestCase extends AbstractMonitorTestCase {
/**
* Test checkAndNotify() deleting
- * @throws Exception
+ * @throws Exception
*/
@Test
public void testFileDelete() throws Exception {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/output/BrokenOutputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/output/BrokenOutputStreamTest.java b/src/test/java/org/apache/commons/io/output/BrokenOutputStreamTest.java
index b91d2ed..12b0188 100644
--- a/src/test/java/org/apache/commons/io/output/BrokenOutputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/output/BrokenOutputStreamTest.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/output/CloseShieldOutputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/output/CloseShieldOutputStreamTest.java b/src/test/java/org/apache/commons/io/output/CloseShieldOutputStreamTest.java
index da618a0..8b6a547 100644
--- a/src/test/java/org/apache/commons/io/output/CloseShieldOutputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/output/CloseShieldOutputStreamTest.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/output/ClosedOutputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/output/ClosedOutputStreamTest.java b/src/test/java/org/apache/commons/io/output/ClosedOutputStreamTest.java
index dedba25..fe4af3d 100644
--- a/src/test/java/org/apache/commons/io/output/ClosedOutputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/output/ClosedOutputStreamTest.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 @@ public class ClosedOutputStreamTest {
/**
* Test the <code>write(b)</code> method.
- * @throws Exception
+ * @throws Exception
*/
@Test
public void testRead() throws Exception {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/output/CountingOutputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/output/CountingOutputStreamTest.java b/src/test/java/org/apache/commons/io/output/CountingOutputStreamTest.java
index d8ba18e..8804efe 100644
--- a/src/test/java/org/apache/commons/io/output/CountingOutputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/output/CountingOutputStreamTest.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/output/DeferredFileOutputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/output/DeferredFileOutputStreamTest.java b/src/test/java/org/apache/commons/io/output/DeferredFileOutputStreamTest.java
index adb58b9..7f3bd78 100644
--- a/src/test/java/org/apache/commons/io/output/DeferredFileOutputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/output/DeferredFileOutputStreamTest.java
@@ -60,7 +60,7 @@ public class DeferredFileOutputStreamTest
* The test data as a byte array, derived from the string.
*/
private final byte[] testBytes = testString.getBytes();
-
+
private final int initialBufferSize;
/**
@@ -344,7 +344,7 @@ public class DeferredFileOutputStreamTest
/**
* Test specifying a temporary file and the threshold is reached.
- * @throws Exception
+ * @throws Exception
*/
@Test
public void testTempFileError() throws Exception {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/output/NullOutputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/output/NullOutputStreamTest.java b/src/test/java/org/apache/commons/io/output/NullOutputStreamTest.java
index 851a319..d792302 100644
--- a/src/test/java/org/apache/commons/io/output/NullOutputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/output/NullOutputStreamTest.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,8 +23,8 @@ import java.io.IOException;
/**
- * Really not a lot to do here, but checking that no
- * Exceptions are thrown.
+ * Really not a lot to do here, but checking that no
+ * Exceptions are thrown.
*
*/
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/output/NullWriterTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/output/NullWriterTest.java b/src/test/java/org/apache/commons/io/output/NullWriterTest.java
index 36775e4..8f4a2b4 100644
--- a/src/test/java/org/apache/commons/io/output/NullWriterTest.java
+++ b/src/test/java/org/apache/commons/io/output/NullWriterTest.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.
@@ -19,8 +19,8 @@ package org.apache.commons.io.output;
import org.junit.Test;
/**
- * Really not a lot to do here, but checking that no
- * Exceptions are thrown.
+ * Really not a lot to do here, but checking that no
+ * Exceptions are thrown.
*
*/
public class NullWriterTest {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/output/ProxyOutputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/output/ProxyOutputStreamTest.java b/src/test/java/org/apache/commons/io/output/ProxyOutputStreamTest.java
index fdd9c0d..9e44532 100644
--- a/src/test/java/org/apache/commons/io/output/ProxyOutputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/output/ProxyOutputStreamTest.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/output/StringBuilderWriterTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/output/StringBuilderWriterTest.java b/src/test/java/org/apache/commons/io/output/StringBuilderWriterTest.java
index bdf1019..405b151 100644
--- a/src/test/java/org/apache/commons/io/output/StringBuilderWriterTest.java
+++ b/src/test/java/org/apache/commons/io/output/StringBuilderWriterTest.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/output/TaggedOutputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/output/TaggedOutputStreamTest.java b/src/test/java/org/apache/commons/io/output/TaggedOutputStreamTest.java
index d1af805..47b44e2 100644
--- a/src/test/java/org/apache/commons/io/output/TaggedOutputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/output/TaggedOutputStreamTest.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,7 +36,7 @@ public class TaggedOutputStreamTest {
@Test
public void testNormalStream() {
try {
- final ByteArrayOutputStream buffer = new ByteArrayOutputStream();
+ final ByteArrayOutputStream buffer = new ByteArrayOutputStream();
final OutputStream stream = new TaggedOutputStream(buffer);
stream.write('a');
stream.write(new byte[] { 'b' });
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/output/TeeOutputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/output/TeeOutputStreamTest.java b/src/test/java/org/apache/commons/io/output/TeeOutputStreamTest.java
index 3df755c..89a57d7 100644
--- a/src/test/java/org/apache/commons/io/output/TeeOutputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/output/TeeOutputStreamTest.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/serialization/ClosingBase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/serialization/ClosingBase.java b/src/test/java/org/apache/commons/io/serialization/ClosingBase.java
index 6e05963..33bbd32 100644
--- a/src/test/java/org/apache/commons/io/serialization/ClosingBase.java
+++ b/src/test/java/org/apache/commons/io/serialization/ClosingBase.java
@@ -26,7 +26,7 @@ import java.util.List;
import org.junit.After;
import org.junit.Before;
-/** Test base class that keeps track of Closeable objects
+/** Test base class that keeps track of Closeable objects
* and cleans them up.
*/
public class ClosingBase {
@@ -36,7 +36,7 @@ public class ClosingBase {
toClose.add(t);
return t;
}
-
+
@Before
public void setup() throws IOException {
toClose.clear();
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/serialization/MockSerializedClass.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/serialization/MockSerializedClass.java b/src/test/java/org/apache/commons/io/serialization/MockSerializedClass.java
index 55ca45b..cd0d8a4 100644
--- a/src/test/java/org/apache/commons/io/serialization/MockSerializedClass.java
+++ b/src/test/java/org/apache/commons/io/serialization/MockSerializedClass.java
@@ -22,9 +22,9 @@ import java.io.Serializable;
public class MockSerializedClass implements Serializable {
private static final long serialVersionUID = 2139985988735372175L;
-
+
private final String str;
-
+
MockSerializedClass(String str) {
this.str = str;
}
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/serialization/MoreComplexObject.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/serialization/MoreComplexObject.java b/src/test/java/org/apache/commons/io/serialization/MoreComplexObject.java
index 1401f2d..201b52d 100644
--- a/src/test/java/org/apache/commons/io/serialization/MoreComplexObject.java
+++ b/src/test/java/org/apache/commons/io/serialization/MoreComplexObject.java
@@ -31,7 +31,7 @@ import java.util.UUID;
*/
public class MoreComplexObject implements Serializable {
private static final long serialVersionUID = -5187124661539240729L;
-
+
private final Random random = new Random(System.currentTimeMillis());
private final String string = UUID.randomUUID().toString();
private final Integer integer = random.nextInt();
@@ -39,7 +39,7 @@ public class MoreComplexObject implements Serializable {
private final long pLong = random.nextLong();
private final Integer [] intArray = { random.nextInt(), random.nextInt() };
private final List<Boolean> boolList = new ArrayList<>();
-
+
MoreComplexObject() {
for(int i=0 ; i < 5; i++) {
boolList.add(random.nextBoolean());
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/serialization/MoreComplexObjectTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/serialization/MoreComplexObjectTest.java b/src/test/java/org/apache/commons/io/serialization/MoreComplexObjectTest.java
index 1ba7129..941a9c0 100644
--- a/src/test/java/org/apache/commons/io/serialization/MoreComplexObjectTest.java
+++ b/src/test/java/org/apache/commons/io/serialization/MoreComplexObjectTest.java
@@ -32,15 +32,15 @@ import java.util.Random;
import org.junit.Before;
import org.junit.Test;
-/** This is more an example than a test - deserialize our {@link MoreComplexObject}
- * to verify which settings it requires, as the object uses a number of primitive
+/** This is more an example than a test - deserialize our {@link MoreComplexObject}
+ * to verify which settings it requires, as the object uses a number of primitive
* and java.* member objects.
*/
public class MoreComplexObjectTest extends ClosingBase {
-
+
private InputStream inputStream;
private MoreComplexObject original;
-
+
@Override
@Before
public void setup() throws IOException {
@@ -50,12 +50,12 @@ public class MoreComplexObjectTest extends ClosingBase {
oos.writeObject(original);
inputStream = willClose(new ByteArrayInputStream(bos.toByteArray()));
}
-
+
private void assertSerialization(ObjectInputStream ois) throws ClassNotFoundException, IOException {
final MoreComplexObject copy = (MoreComplexObject) (ois.readObject());
assertEquals("Expecting same data after deserializing", original.toString(), copy.toString());
}
-
+
/** Trusting java.lang.* and the array variants of that means we have
* to define a number of accept classes explicitly. Quite safe but
* might become a bit verbose.
@@ -68,7 +68,7 @@ public class MoreComplexObjectTest extends ClosingBase {
.accept("java.lang.*","[Ljava.lang.*")
));
}
-
+
/** Trusting java.* is probably reasonable and avoids having to be too
* detailed in the accepts.
*/
@@ -80,10 +80,10 @@ public class MoreComplexObjectTest extends ClosingBase {
.accept("java.*","[Ljava.*")
));
}
-
+
/** Here we accept everything but reject specific classes, using a pure
* blacklist mode.
- *
+ *
* That's not as safe as it's hard to get an exhaustive blacklist, but
* might be ok in controlled environments.
*/
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/serialization/RegexpClassNameMatcherTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/serialization/RegexpClassNameMatcherTest.java b/src/test/java/org/apache/commons/io/serialization/RegexpClassNameMatcherTest.java
index 4225aba..d54542f 100644
--- a/src/test/java/org/apache/commons/io/serialization/RegexpClassNameMatcherTest.java
+++ b/src/test/java/org/apache/commons/io/serialization/RegexpClassNameMatcherTest.java
@@ -53,7 +53,7 @@ public class RegexpClassNameMatcherTest {
public void testNullStringPattern() {
new RegexpClassNameMatcher((String)null);
}
-
+
@Test(expected=IllegalArgumentException.class)
public void testNullPatternPattern() {
new RegexpClassNameMatcher((Pattern)null);
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/serialization/ValidatingObjectInputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/serialization/ValidatingObjectInputStreamTest.java b/src/test/java/org/apache/commons/io/serialization/ValidatingObjectInputStreamTest.java
index f2e109c..f2c3429 100644
--- a/src/test/java/org/apache/commons/io/serialization/ValidatingObjectInputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/serialization/ValidatingObjectInputStreamTest.java
@@ -186,7 +186,7 @@ public class ValidatingObjectInputStreamTest extends ClosingBase {
.reject(MockSerializedClass.class, Integer.class)
);
}
-
+
@Test(expected = InvalidClassException.class)
public void rejectPrecedence() throws Exception {
assertSerialization(
@@ -195,7 +195,7 @@ public class ValidatingObjectInputStreamTest extends ClosingBase {
.reject(MockSerializedClass.class, Integer.class)
);
}
-
+
@Test(expected = InvalidClassException.class)
public void rejectOnly() throws Exception {
assertSerialization(
@@ -203,7 +203,7 @@ public class ValidatingObjectInputStreamTest extends ClosingBase {
.reject(Integer.class)
);
}
-
+
@Test(expected = RuntimeException.class)
public void customInvalidMethod() throws Exception {
class CustomVOIS extends ValidatingObjectInputStream {
@@ -216,7 +216,7 @@ public class ValidatingObjectInputStreamTest extends ClosingBase {
throw new RuntimeException("Custom exception");
}
};
-
+
assertSerialization(
willClose(new CustomVOIS(testStream))
.reject(Integer.class)
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/test/java/org/apache/commons/io/testtools/YellOnCloseInputStream.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/testtools/YellOnCloseInputStream.java b/src/test/java/org/apache/commons/io/testtools/YellOnCloseInputStream.java
index 0e940dc..4e3a6ce 100644
--- a/src/test/java/org/apache/commons/io/testtools/YellOnCloseInputStream.java
+++ b/src/test/java/org/apache/commons/io/testtools/YellOnCloseInputStream.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/testtools/YellOnFlushAndCloseOutputStream.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/testtools/YellOnFlushAndCloseOutputStream.java b/src/test/java/org/apache/commons/io/testtools/YellOnFlushAndCloseOutputStream.java
index 7c73d0d..0fa5c32 100644
--- a/src/test/java/org/apache/commons/io/testtools/YellOnFlushAndCloseOutputStream.java
+++ b/src/test/java/org/apache/commons/io/testtools/YellOnFlushAndCloseOutputStream.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.
[3/3] commons-io git commit: Remove trailing spaces.
Posted by gg...@apache.org.
Remove trailing spaces.
Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/a768fe9a
Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/a768fe9a
Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/a768fe9a
Branch: refs/heads/master
Commit: a768fe9aacf04cce58441ba5cbe6e0d03c2a11d8
Parents: d00ff3a
Author: Gary Gregory <gg...@apache.org>
Authored: Wed Sep 27 12:00:03 2017 -0600
Committer: Gary Gregory <gg...@apache.org>
Committed: Wed Sep 27 12:00:03 2017 -0600
----------------------------------------------------------------------
.../org/apache/commons/io/ByteOrderFactory.java | 2 +-
.../java/org/apache/commons/io/Charsets.java | 28 ++++-----
.../java/org/apache/commons/io/CopyUtils.java | 4 +-
.../java/org/apache/commons/io/EndianUtils.java | 8 +--
.../java/org/apache/commons/io/FileCleaner.java | 8 +--
.../apache/commons/io/FileCleaningTracker.java | 4 +-
.../apache/commons/io/FileDeleteStrategy.java | 4 +-
.../apache/commons/io/FileExistsException.java | 4 +-
.../java/org/apache/commons/io/FileUtils.java | 4 +-
.../org/apache/commons/io/FilenameUtils.java | 2 +-
.../apache/commons/io/IOExceptionWithCause.java | 8 +--
.../java/org/apache/commons/io/IOUtils.java | 12 ++--
.../apache/commons/io/TaggedIOException.java | 6 +-
.../org/apache/commons/io/ThreadMonitor.java | 2 +-
.../io/comparator/AbstractFileComparator.java | 4 +-
.../io/comparator/CompositeFileComparator.java | 6 +-
.../io/comparator/DefaultFileComparator.java | 6 +-
.../io/comparator/DirectoryFileComparator.java | 6 +-
.../io/comparator/ExtensionFileComparator.java | 8 +--
.../comparator/LastModifiedFileComparator.java | 10 ++--
.../io/comparator/NameFileComparator.java | 6 +-
.../io/comparator/PathFileComparator.java | 8 +--
.../io/comparator/ReverseComparator.java | 6 +-
.../io/comparator/SizeFileComparator.java | 8 +--
.../io/filefilter/AbstractFileFilter.java | 10 ++--
.../commons/io/filefilter/AgeFileFilter.java | 4 +-
.../commons/io/filefilter/AndFileFilter.java | 4 +-
.../io/filefilter/ConditionalFileFilter.java | 4 +-
.../io/filefilter/DirectoryFileFilter.java | 6 +-
.../commons/io/filefilter/FalseFileFilter.java | 4 +-
.../commons/io/filefilter/FileFileFilter.java | 4 +-
.../commons/io/filefilter/OrFileFilter.java | 6 +-
.../commons/io/filefilter/RegexFileFilter.java | 4 +-
.../commons/io/filefilter/SizeFileFilter.java | 6 +-
.../commons/io/filefilter/TrueFileFilter.java | 4 +-
.../io/filefilter/WildcardFileFilter.java | 4 +-
.../commons/io/input/AutoCloseInputStream.java | 4 +-
.../apache/commons/io/input/BOMInputStream.java | 62 ++++++++++----------
.../commons/io/input/BrokenInputStream.java | 4 +-
.../commons/io/input/CharSequenceReader.java | 4 +-
.../io/input/CloseShieldInputStream.java | 4 +-
.../commons/io/input/CountingInputStream.java | 12 ++--
.../commons/io/input/DemuxInputStream.java | 4 +-
.../io/input/InfiniteCircularInputStream.java | 4 +-
.../MessageDigestCalculatingInputStream.java | 6 +-
.../commons/io/input/NullInputStream.java | 4 +-
.../org/apache/commons/io/input/NullReader.java | 4 +-
.../commons/io/input/ObservableInputStream.java | 8 +--
.../apache/commons/io/input/ProxyReader.java | 14 ++---
.../io/input/ReversedLinesFileReader.java | 6 +-
.../io/input/SwappedDataInputStream.java | 28 ++++-----
.../commons/io/input/TaggedInputStream.java | 6 +-
.../org/apache/commons/io/input/Tailer.java | 4 +-
.../apache/commons/io/input/TeeInputStream.java | 12 ++--
.../io/monitor/FileAlterationListener.java | 14 ++---
.../monitor/FileAlterationListenerAdaptor.java | 14 ++---
.../io/monitor/FileAlterationMonitor.java | 4 +-
.../io/monitor/FileAlterationObserver.java | 2 +-
.../apache/commons/io/monitor/FileEntry.java | 2 +-
.../commons/io/output/BrokenOutputStream.java | 4 +-
.../commons/io/output/ChunkedOutputStream.java | 6 +-
.../apache/commons/io/output/ChunkedWriter.java | 4 +-
.../io/output/CloseShieldOutputStream.java | 4 +-
.../commons/io/output/CountingOutputStream.java | 14 ++---
.../commons/io/output/DemuxOutputStream.java | 4 +-
.../io/output/FileWriterWithEncoding.java | 6 +-
.../commons/io/output/ProxyOutputStream.java | 10 ++--
.../apache/commons/io/output/ProxyWriter.java | 12 ++--
.../commons/io/output/StringBuilderWriter.java | 12 ++--
.../commons/io/output/TaggedOutputStream.java | 4 +-
.../commons/io/output/TeeOutputStream.java | 14 ++---
.../io/output/ThresholdingOutputStream.java | 10 ++--
.../commons/io/output/WriterOutputStream.java | 38 ++++++------
.../commons/io/output/XmlStreamWriter.java | 6 +-
.../io/serialization/ClassNameMatcher.java | 4 +-
.../io/serialization/FullClassNameMatcher.java | 2 +-
.../serialization/RegexpClassNameMatcher.java | 4 +-
.../ValidatingObjectInputStream.java | 34 +++++------
.../serialization/WildcardClassNameMatcher.java | 6 +-
.../org/apache/commons/io/CharsetsTestCase.java | 4 +-
.../org/apache/commons/io/DemuxTestCase.java | 4 +-
.../io/DirectoryWalkerTestCaseJava4.java | 4 +-
.../apache/commons/io/FileCleanerTestCase.java | 4 +-
.../io/FileUtilsCleanDirectoryTestCase.java | 4 +-
.../io/FileUtilsCleanSymlinksTestCase.java | 4 +-
.../io/FileUtilsDirectoryContainsTestCase.java | 14 ++---
.../commons/io/FileUtilsFileNewerTestCase.java | 2 +-
.../commons/io/FileUtilsWaitForTestCase.java | 4 +-
.../java/org/apache/commons/io/HexDumpTest.java | 4 +-
.../org/apache/commons/io/IOUtilsTestCase.java | 8 +--
.../apache/commons/io/LineIteratorTestCase.java | 2 +-
.../commons/io/ThreadMonitorTestCase.java | 4 +-
.../comparator/ComparatorAbstractTestCase.java | 4 +-
.../comparator/CompositeFileComparatorTest.java | 4 +-
.../comparator/DefaultFileComparatorTest.java | 4 +-
.../comparator/DirectoryFileComparatorTest.java | 4 +-
.../comparator/ExtensionFileComparatorTest.java | 4 +-
.../LastModifiedFileComparatorTest.java | 4 +-
.../io/comparator/NameFileComparatorTest.java | 4 +-
.../io/comparator/PathFileComparatorTest.java | 4 +-
.../io/comparator/SizeFileComparatorTest.java | 4 +-
.../io/input/AutoCloseInputStreamTest.java | 4 +-
.../io/input/BoundedInputStreamTest.java | 4 +-
.../commons/io/input/BrokenInputStreamTest.java | 4 +-
.../io/input/CharSequenceReaderTest.java | 6 +-
.../io/input/CloseShieldInputStreamTest.java | 4 +-
.../commons/io/input/ClosedInputStreamTest.java | 4 +-
...MessageDigestCalculatingInputStreamTest.java | 4 +-
.../io/input/ObservableInputStreamTest.java | 8 +--
.../commons/io/input/ProxyReaderTest.java | 6 +-
.../io/input/SwappedDataInputStreamTest.java | 6 +-
.../commons/io/input/TaggedInputStreamTest.java | 4 +-
.../org/apache/commons/io/input/TailerTest.java | 4 +-
.../commons/io/input/TeeInputStreamTest.java | 4 +-
...lStreamReaderUtilitiesCompatibilityTest.java | 4 +-
.../io/monitor/AbstractMonitorTestCase.java | 12 ++--
.../io/monitor/CollectionFileListener.java | 12 ++--
.../monitor/FileAlterationMonitorTestCase.java | 4 +-
.../monitor/FileAlterationObserverTestCase.java | 8 +--
.../io/output/BrokenOutputStreamTest.java | 4 +-
.../io/output/CloseShieldOutputStreamTest.java | 4 +-
.../io/output/ClosedOutputStreamTest.java | 6 +-
.../io/output/CountingOutputStreamTest.java | 4 +-
.../io/output/DeferredFileOutputStreamTest.java | 4 +-
.../commons/io/output/NullOutputStreamTest.java | 8 +--
.../commons/io/output/NullWriterTest.java | 8 +--
.../io/output/ProxyOutputStreamTest.java | 4 +-
.../io/output/StringBuilderWriterTest.java | 4 +-
.../io/output/TaggedOutputStreamTest.java | 6 +-
.../commons/io/output/TeeOutputStreamTest.java | 4 +-
.../commons/io/serialization/ClosingBase.java | 4 +-
.../io/serialization/MockSerializedClass.java | 4 +-
.../io/serialization/MoreComplexObject.java | 4 +-
.../io/serialization/MoreComplexObjectTest.java | 18 +++---
.../RegexpClassNameMatcherTest.java | 2 +-
.../ValidatingObjectInputStreamTest.java | 8 +--
.../io/testtools/YellOnCloseInputStream.java | 4 +-
.../YellOnFlushAndCloseOutputStream.java | 4 +-
138 files changed, 476 insertions(+), 476 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/ByteOrderFactory.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/ByteOrderFactory.java b/src/main/java/org/apache/commons/io/ByteOrderFactory.java
index 70d839d..a544376 100644
--- a/src/main/java/org/apache/commons/io/ByteOrderFactory.java
+++ b/src/main/java/org/apache/commons/io/ByteOrderFactory.java
@@ -52,7 +52,7 @@ public class ByteOrderFactory {
* <li>{@code ByteOrderFactory.parseByteOrder("little")} returns {@code ByteOrder.LITTLE_ENDIAN}</li>
* <li>{@code ByteOrderFactory.parseByteOrder("big")} returns {@code ByteOrder.BIG_ENDIAN}</li>
* </ul>
- *
+ *
* @param value
* the {@code String} containing the ByteOrder representation to be parsed
* @return the ByteOrder represented by the string argument
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/Charsets.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/Charsets.java b/src/main/java/org/apache/commons/io/Charsets.java
index b1105c2..627db90 100644
--- a/src/main/java/org/apache/commons/io/Charsets.java
+++ b/src/main/java/org/apache/commons/io/Charsets.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.
@@ -24,7 +24,7 @@ import java.util.TreeMap;
/**
* Charsets required of every implementation of the Java platform.
- *
+ *
* From the Java documentation <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">
* Standard charsets</a>:
* <p>
@@ -32,7 +32,7 @@ import java.util.TreeMap;
* the release documentation for your implementation to see if any other encodings are supported. Consult the release
* documentation for your implementation to see if any other encodings are supported. </cite>
* </p>
- *
+ *
* <ul>
* <li><code>US-ASCII</code><br>
* Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the Unicode character set.</li>
@@ -48,7 +48,7 @@ import java.util.TreeMap;
* Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either order
* accepted on input, big-endian used on output.)</li>
* </ul>
- *
+ *
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
* @since 2.3
* @version $Id$
@@ -66,7 +66,7 @@ public class Charsets {
* From the Java documentation <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">
* Standard charsets</a>:
* </p>
- *
+ *
* @return An immutable, case-insensitive map from canonical charset names to charset objects.
* @see Charset#availableCharsets()
* @since 2.5
@@ -85,7 +85,7 @@ public class Charsets {
/**
* Returns the given Charset or the default Charset if the given Charset is null.
- *
+ *
* @param charset
* A charset or null.
* @return the given Charset or the default Charset if the given Charset is null
@@ -96,7 +96,7 @@ public class Charsets {
/**
* Returns a Charset for the named charset. If the name is null, return the default Charset.
- *
+ *
* @param charset
* The name of the requested charset, may be null.
* @return a Charset for the named charset
@@ -112,7 +112,7 @@ public class Charsets {
* <p>
* Every implementation of the Java platform is required to support this character encoding.
* </p>
- *
+ *
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
*/
@@ -126,7 +126,7 @@ public class Charsets {
* <p>
* Every implementation of the Java platform is required to support this character encoding.
* </p>
- *
+ *
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
*/
@@ -141,7 +141,7 @@ public class Charsets {
* <p>
* Every implementation of the Java platform is required to support this character encoding.
* </p>
- *
+ *
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
*/
@@ -155,7 +155,7 @@ public class Charsets {
* <p>
* Every implementation of the Java platform is required to support this character encoding.
* </p>
- *
+ *
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
*/
@@ -169,7 +169,7 @@ public class Charsets {
* <p>
* Every implementation of the Java platform is required to support this character encoding.
* </p>
- *
+ *
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
*/
@@ -183,7 +183,7 @@ public class Charsets {
* <p>
* Every implementation of the Java platform is required to support this character encoding.
* </p>
- *
+ *
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
*/
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/CopyUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/CopyUtils.java b/src/main/java/org/apache/commons/io/CopyUtils.java
index 0aa61d7..9b70bfb 100644
--- a/src/main/java/org/apache/commons/io/CopyUtils.java
+++ b/src/main/java/org/apache/commons/io/CopyUtils.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/EndianUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/EndianUtils.java b/src/main/java/org/apache/commons/io/EndianUtils.java
index 81ae55f..ace241b 100644
--- a/src/main/java/org/apache/commons/io/EndianUtils.java
+++ b/src/main/java/org/apache/commons/io/EndianUtils.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.
@@ -188,7 +188,7 @@ public class EndianUtils {
final long high = data[ offset + 3 ] & 0xff;
- return (high << 24) + (0xffffffffL & low);
+ return (high << 24) + (0xffffffffL & low);
}
/**
@@ -369,7 +369,7 @@ public class EndianUtils {
final long high = value4 & 0xff;
- return (high << 24) + (0xffffffffL & low);
+ return (high << 24) + (0xffffffffL & low);
}
/**
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/FileCleaner.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/FileCleaner.java b/src/main/java/org/apache/commons/io/FileCleaner.java
index a47b2f3..ef0104d 100644
--- a/src/main/java/org/apache/commons/io/FileCleaner.java
+++ b/src/main/java/org/apache/commons/io/FileCleaner.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.
@@ -135,7 +135,7 @@ public class FileCleaner {
* posing a memory leak.
* <p>
* This method allows the thread to be terminated. Simply call this method
- * in the resource cleanup code, such as
+ * in the resource cleanup code, such as
* {@code javax.servlet.ServletContextListener.contextDestroyed(javax.servlet.ServletContextEvent)}.
* One called, no new objects can be tracked by the file cleaner.
* @deprecated Use {@link FileCleaningTracker#exitWhenFinished()}.
@@ -150,7 +150,7 @@ public class FileCleaner {
* This is mainly useful for code, which wants to support the new
* {@link FileCleaningTracker} class while maintain compatibility with the
* deprecated {@link FileCleaner}.
- *
+ *
* @return the singleton instance
*/
public static FileCleaningTracker getInstance() {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/FileCleaningTracker.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/FileCleaningTracker.java b/src/main/java/org/apache/commons/io/FileCleaningTracker.java
index 6067682..3e6244c 100644
--- a/src/main/java/org/apache/commons/io/FileCleaningTracker.java
+++ b/src/main/java/org/apache/commons/io/FileCleaningTracker.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/FileDeleteStrategy.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/FileDeleteStrategy.java b/src/main/java/org/apache/commons/io/FileDeleteStrategy.java
index 866a454..8dc257f 100644
--- a/src/main/java/org/apache/commons/io/FileDeleteStrategy.java
+++ b/src/main/java/org/apache/commons/io/FileDeleteStrategy.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/FileExistsException.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/FileExistsException.java b/src/main/java/org/apache/commons/io/FileExistsException.java
index 28c1d14..ecec561 100644
--- a/src/main/java/org/apache/commons/io/FileExistsException.java
+++ b/src/main/java/org/apache/commons/io/FileExistsException.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/FileUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/FileUtils.java b/src/main/java/org/apache/commons/io/FileUtils.java
index f03d785..e9ea792 100644
--- a/src/main/java/org/apache/commons/io/FileUtils.java
+++ b/src/main/java/org/apache/commons/io/FileUtils.java
@@ -504,7 +504,7 @@ public class FileUtils {
*
* @param directory the directory to search in
* @param fileFilter filter to apply when finding files. Must not be {@code null},
- * use {@link TrueFileFilter#INSTANCE} to match all files in selected directories.
+ * use {@link TrueFileFilter#INSTANCE} to match all files in selected directories.
* @param dirFilter optional filter to apply when finding subdirectories.
* If this parameter is {@code null}, subdirectories will not be included in the
* search. Use {@link TrueFileFilter#INSTANCE} to match all directories.
@@ -1551,7 +1551,7 @@ public class FileUtils {
*
* @throws NullPointerException if source or destination is {@code null}
* @throws IOException if source or destination is invalid
- * @throws IOException if an IO error occurs during copying
+ * @throws IOException if an IO error occurs during copying
* @see #copyDirectoryToDirectory(File, File)
* @see #copyFileToDirectory(File, File)
* @since 2.6
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/FilenameUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/FilenameUtils.java b/src/main/java/org/apache/commons/io/FilenameUtils.java
index dd5e6df..54084ff 100644
--- a/src/main/java/org/apache/commons/io/FilenameUtils.java
+++ b/src/main/java/org/apache/commons/io/FilenameUtils.java
@@ -716,7 +716,7 @@ public class FilenameUtils {
* <p>
* The output will be the same irrespective of the machine that the code is running on.
* </p>
- *
+ *
* @param filename
* the filename to find the last extension separator in, null returns -1
* @return the index of the last extension separator character, or -1 if there is no such character
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/IOExceptionWithCause.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/IOExceptionWithCause.java b/src/main/java/org/apache/commons/io/IOExceptionWithCause.java
index 01e5cf1..67f8f88 100644
--- a/src/main/java/org/apache/commons/io/IOExceptionWithCause.java
+++ b/src/main/java/org/apache/commons/io/IOExceptionWithCause.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.
@@ -39,7 +39,7 @@ public class IOExceptionWithCause extends IOException {
* As specified in {@link Throwable}, the message in the given <code>cause</code> is not used in this instance's
* message.
* </p>
- *
+ *
* @param message
* the message (see {@link #getMessage()})
* @param cause
@@ -55,7 +55,7 @@ public class IOExceptionWithCause extends IOException {
* The message is set to <code>cause==null ? null : cause.toString()</code>, which by default contains the class
* and message of <code>cause</code>. This constructor is useful for call sites that just wrap another throwable.
* </p>
- *
+ *
* @param cause
* the cause (see {@link #getCause()}). A {@code null} value is allowed.
*/
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/IOUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/IOUtils.java b/src/main/java/org/apache/commons/io/IOUtils.java
index f4ccaf4..7645f51 100644
--- a/src/main/java/org/apache/commons/io/IOUtils.java
+++ b/src/main/java/org/apache/commons/io/IOUtils.java
@@ -1265,7 +1265,7 @@ public class IOUtils {
* @param encoding the encoding to use, null means platform default
* @return the requested String
* @throws IOException if an I/O error occurs
- *
+ *
* @since 2.6
*/
public static String resourceToString(final String name, final Charset encoding) throws IOException {
@@ -1286,7 +1286,7 @@ public class IOUtils {
* @param classLoader the class loader that the resolution of the resource is delegated to
* @return the requested String
* @throws IOException if an I/O error occurs
- *
+ *
* @since 2.6
*/
public static String resourceToString(final String name, final Charset encoding, ClassLoader classLoader) throws IOException {
@@ -1304,7 +1304,7 @@ public class IOUtils {
* @param name name of the desired resource
* @return the requested byte array
* @throws IOException if an I/O error occurs
- *
+ *
* @since 2.6
*/
public static byte[] resourceToByteArray(final String name) throws IOException {
@@ -1323,7 +1323,7 @@ public class IOUtils {
* @param classLoader the class loader that the resolution of the resource is delegated to
* @return the requested byte array
* @throws IOException if an I/O error occurs
- *
+ *
* @since 2.6
*/
public static byte[] resourceToByteArray(final String name, final ClassLoader classLoader) throws IOException {
@@ -1341,7 +1341,7 @@ public class IOUtils {
* @param name name of the desired resource
* @return the requested URL
* @throws IOException if an I/O error occurs
- *
+ *
* @since 2.6
*/
public static URL resourceToURL(final String name) throws IOException {
@@ -1360,7 +1360,7 @@ public class IOUtils {
* @param classLoader the class loader that the resolution of the resource is delegated to
* @return the requested URL
* @throws IOException if an I/O error occurs
- *
+ *
* @since 2.6
*/
public static URL resourceToURL(final String name, final ClassLoader classLoader) throws IOException {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/TaggedIOException.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/TaggedIOException.java b/src/main/java/org/apache/commons/io/TaggedIOException.java
index 2283847..afa66cb 100644
--- a/src/main/java/org/apache/commons/io/TaggedIOException.java
+++ b/src/main/java/org/apache/commons/io/TaggedIOException.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.
@@ -26,7 +26,7 @@ import java.io.Serializable;
*
* @since 2.0
*/
-@SuppressWarnings("deprecation") // needs to extend deprecated IOExceptionWithCause to preserve binary compatibility
+@SuppressWarnings("deprecation") // needs to extend deprecated IOExceptionWithCause to preserve binary compatibility
public class TaggedIOException extends IOExceptionWithCause {
/**
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/ThreadMonitor.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/ThreadMonitor.java b/src/main/java/org/apache/commons/io/ThreadMonitor.java
index d9291f0..1ca37c7 100644
--- a/src/main/java/org/apache/commons/io/ThreadMonitor.java
+++ b/src/main/java/org/apache/commons/io/ThreadMonitor.java
@@ -24,7 +24,7 @@ package org.apache.commons.io;
* completes its work before being interrupted, it should <code>interrupt()</code>
* the <i>monitor</i> thread.
* </p>
- *
+ *
* <pre>
* long timeoutInMillis = 1000;
* try {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/comparator/AbstractFileComparator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/comparator/AbstractFileComparator.java b/src/main/java/org/apache/commons/io/comparator/AbstractFileComparator.java
index 5d39cad..a549766 100644
--- a/src/main/java/org/apache/commons/io/comparator/AbstractFileComparator.java
+++ b/src/main/java/org/apache/commons/io/comparator/AbstractFileComparator.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/comparator/CompositeFileComparator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/comparator/CompositeFileComparator.java b/src/main/java/org/apache/commons/io/comparator/CompositeFileComparator.java
index 49ee0e5..7bfaa26 100644
--- a/src/main/java/org/apache/commons/io/comparator/CompositeFileComparator.java
+++ b/src/main/java/org/apache/commons/io/comparator/CompositeFileComparator.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.
@@ -82,7 +82,7 @@ public class CompositeFileComparator extends AbstractFileComparator implements S
/**
* Compare the two files using delegate comparators.
- *
+ *
* @param file1 The first file to compare
* @param file2 The second file to compare
* @return the first non-zero result returned from
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/comparator/DefaultFileComparator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/comparator/DefaultFileComparator.java b/src/main/java/org/apache/commons/io/comparator/DefaultFileComparator.java
index c786912..afaa785 100644
--- a/src/main/java/org/apache/commons/io/comparator/DefaultFileComparator.java
+++ b/src/main/java/org/apache/commons/io/comparator/DefaultFileComparator.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.
@@ -55,7 +55,7 @@ public class DefaultFileComparator extends AbstractFileComparator implements Ser
/**
* Compare the two files using the {@link File#compareTo(File)} method.
- *
+ *
* @param file1 The first file to compare
* @param file2 The second file to compare
* @return the result of calling file1's
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/comparator/DirectoryFileComparator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/comparator/DirectoryFileComparator.java b/src/main/java/org/apache/commons/io/comparator/DirectoryFileComparator.java
index b49a6e3..1ab872b 100644
--- a/src/main/java/org/apache/commons/io/comparator/DirectoryFileComparator.java
+++ b/src/main/java/org/apache/commons/io/comparator/DirectoryFileComparator.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.
@@ -54,7 +54,7 @@ public class DirectoryFileComparator extends AbstractFileComparator implements S
/**
* Compare the two files using the {@link File#isDirectory()} method.
- *
+ *
* @param file1 The first file to compare
* @param file2 The second file to compare
* @return the result of calling file1's
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/comparator/ExtensionFileComparator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/comparator/ExtensionFileComparator.java b/src/main/java/org/apache/commons/io/comparator/ExtensionFileComparator.java
index fac6d15..176862f 100644
--- a/src/main/java/org/apache/commons/io/comparator/ExtensionFileComparator.java
+++ b/src/main/java/org/apache/commons/io/comparator/ExtensionFileComparator.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.
@@ -95,14 +95,14 @@ public class ExtensionFileComparator extends AbstractFileComparator implements S
/**
* Compare the extensions of two files the specified case sensitivity.
- *
+ *
* @param file1 The first file to compare
* @param file2 The second file to compare
* @return a negative value if the first file's extension
* is less than the second, zero if the extensions are the
* same and a positive value if the first files extension
* is greater than the second file.
- *
+ *
*/
@Override
public int compare(final File file1, final File file2) {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/comparator/LastModifiedFileComparator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/comparator/LastModifiedFileComparator.java b/src/main/java/org/apache/commons/io/comparator/LastModifiedFileComparator.java
index dda7d60..cc57abf 100644
--- a/src/main/java/org/apache/commons/io/comparator/LastModifiedFileComparator.java
+++ b/src/main/java/org/apache/commons/io/comparator/LastModifiedFileComparator.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,7 +21,7 @@ import java.io.Serializable;
import java.util.Comparator;
/**
- * Compare the <b>last modified date/time</b> of two files for order
+ * Compare the <b>last modified date/time</b> of two files for order
* (see {@link File#lastModified()}).
* <p>
* This comparator can be used to sort lists or arrays of files
@@ -56,14 +56,14 @@ public class LastModifiedFileComparator extends AbstractFileComparator implement
/**
* Compare the last the last modified date/time of two files.
- *
+ *
* @param file1 The first file to compare
* @param file2 The second file to compare
* @return a negative value if the first file's lastmodified date/time
* is less than the second, zero if the lastmodified date/time are the
* same and a positive value if the first files lastmodified date/time
* is greater than the second file.
- *
+ *
*/
@Override
public int compare(final File file1, final File file2) {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/comparator/NameFileComparator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/comparator/NameFileComparator.java b/src/main/java/org/apache/commons/io/comparator/NameFileComparator.java
index 76302b4..c4c6364 100644
--- a/src/main/java/org/apache/commons/io/comparator/NameFileComparator.java
+++ b/src/main/java/org/apache/commons/io/comparator/NameFileComparator.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.
@@ -91,7 +91,7 @@ public class NameFileComparator extends AbstractFileComparator implements Serial
/**
* Compare the names of two files with the specified case sensitivity.
- *
+ *
* @param file1 The first file to compare
* @param file2 The second file to compare
* @return a negative value if the first file's name
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/comparator/PathFileComparator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/comparator/PathFileComparator.java b/src/main/java/org/apache/commons/io/comparator/PathFileComparator.java
index b7da07e..6207e3a 100644
--- a/src/main/java/org/apache/commons/io/comparator/PathFileComparator.java
+++ b/src/main/java/org/apache/commons/io/comparator/PathFileComparator.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.
@@ -91,14 +91,14 @@ public class PathFileComparator extends AbstractFileComparator implements Serial
/**
* Compare the paths of two files the specified case sensitivity.
- *
+ *
* @param file1 The first file to compare
* @param file2 The second file to compare
* @return a negative value if the first file's path
* is less than the second, zero if the paths are the
* same and a positive value if the first files path
* is greater than the second file.
- *
+ *
*/
@Override
public int compare(final File file1, final File file2) {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/comparator/ReverseComparator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/comparator/ReverseComparator.java b/src/main/java/org/apache/commons/io/comparator/ReverseComparator.java
index d2fc127..685bfe1 100644
--- a/src/main/java/org/apache/commons/io/comparator/ReverseComparator.java
+++ b/src/main/java/org/apache/commons/io/comparator/ReverseComparator.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.
@@ -45,7 +45,7 @@ class ReverseComparator extends AbstractFileComparator implements Serializable {
/**
* Compare using the delegate Comparator, but reversing the result.
- *
+ *
* @param file1 The first file to compare
* @param file2 The second file to compare
* @return the result from the delegate {@link Comparator#compare(Object, Object)}
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java b/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java
index 44c9071..edd7998 100644
--- a/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java
+++ b/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.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.
@@ -97,14 +97,14 @@ public class SizeFileComparator extends AbstractFileComparator implements Serial
/**
* Compare the length of two files.
- *
+ *
* @param file1 The first file to compare
* @param file2 The second file to compare
* @return a negative value if the first file's length
* is less than the second, zero if the lengths are the
* same and a positive value if the first files length
* is greater than the second file.
- *
+ *
*/
@Override
public int compare(final File file1, final File file2) {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.java
index b8350b0..afd372c 100644
--- a/src/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.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.
@@ -19,7 +19,7 @@ package org.apache.commons.io.filefilter;
import java.io.File;
/**
- * An abstract class which implements the Java FileFilter and FilenameFilter
+ * An abstract class which implements the Java FileFilter and FilenameFilter
* interfaces via the IOFileFilter interface.
* <p>
* Note that a subclass <b>must</b> override one of the accept methods,
@@ -32,7 +32,7 @@ public abstract class AbstractFileFilter implements IOFileFilter {
/**
* Checks to see if the File should be accepted by this filter.
- *
+ *
* @param file the File to check
* @return true if this file matches the test
*/
@@ -43,7 +43,7 @@ public abstract class AbstractFileFilter implements IOFileFilter {
/**
* Checks to see if the File should be accepted by this filter.
- *
+ *
* @param dir the directory File to check
* @param name the filename within the directory to check
* @return true if this file matches the test
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/filefilter/AgeFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/AgeFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/AgeFileFilter.java
index b66bfdd..e2ccaaf 100644
--- a/src/main/java/org/apache/commons/io/filefilter/AgeFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/AgeFileFilter.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/filefilter/AndFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java
index 96e11a6..33b04f3 100644
--- a/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.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/filefilter/ConditionalFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.java
index a93d0c7..ee128dd 100644
--- a/src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.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/filefilter/DirectoryFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java
index 115ba69..3a8419e 100644
--- a/src/main/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/DirectoryFileFilter.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.
@@ -22,7 +22,7 @@ import java.io.Serializable;
/**
* This filter accepts <code>File</code>s that are directories.
* <p>
- * For example, here is how to print out a list of the
+ * For example, here is how to print out a list of the
* current directory's subdirectories:
*
* <pre>
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/filefilter/FalseFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/FalseFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/FalseFileFilter.java
index b04eef3..4cf5ba1 100644
--- a/src/main/java/org/apache/commons/io/filefilter/FalseFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/FalseFileFilter.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/filefilter/FileFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/FileFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/FileFileFilter.java
index 37aa6bf..d7287fd 100644
--- a/src/main/java/org/apache/commons/io/filefilter/FileFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/FileFileFilter.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/filefilter/OrFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java
index f8c2cbd..d21588e 100644
--- a/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.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.
@@ -67,7 +67,7 @@ public class OrFileFilter
/**
* Constructs a new file filter that ORs the result of two other filters.
- *
+ *
* @param filter1 the first filter, must not be null
* @param filter2 the second filter, must not be null
* @throws IllegalArgumentException if either filter is null
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/filefilter/RegexFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/RegexFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/RegexFileFilter.java
index 48afc60..968b8c9 100644
--- a/src/main/java/org/apache/commons/io/filefilter/RegexFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/RegexFileFilter.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/filefilter/SizeFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/SizeFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/SizeFileFilter.java
index 2475ae5..18beaa0 100644
--- a/src/main/java/org/apache/commons/io/filefilter/SizeFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/SizeFileFilter.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.
@@ -48,7 +48,7 @@ public class SizeFileFilter extends AbstractFileFilter implements Serializable {
private final boolean acceptLarger;
/**
- * Constructs a new size file filter for files equal to or
+ * Constructs a new size file filter for files equal to or
* larger than a certain size.
*
* @param size the threshold size of the files
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/filefilter/TrueFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/TrueFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/TrueFileFilter.java
index f4d6435..0a6fef9 100644
--- a/src/main/java/org/apache/commons/io/filefilter/TrueFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/TrueFileFilter.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/filefilter/WildcardFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java
index 41588e8..e6f695c 100644
--- a/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.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/input/AutoCloseInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/AutoCloseInputStream.java b/src/main/java/org/apache/commons/io/input/AutoCloseInputStream.java
index ababede..e946b54 100644
--- a/src/main/java/org/apache/commons/io/input/AutoCloseInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/AutoCloseInputStream.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/input/BOMInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/BOMInputStream.java b/src/main/java/org/apache/commons/io/input/BOMInputStream.java
index 02b4f2f..c9ef85f 100644
--- a/src/main/java/org/apache/commons/io/input/BOMInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/BOMInputStream.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,10 +29,10 @@ import org.apache.commons.io.ByteOrderMark;
/**
* This class is used to wrap a stream that includes an encoded {@link ByteOrderMark} as its first bytes.
- *
+ *
* This class detects these bytes and, if required, can automatically skip them and return the subsequent byte as the
* first byte in the stream.
- *
+ *
* The {@link ByteOrderMark} implementation has the following pre-defined BOMs:
* <ul>
* <li>UTF-8 - {@link ByteOrderMark#UTF_8}</li>
@@ -41,19 +41,19 @@ import org.apache.commons.io.ByteOrderMark;
* <li>UTF-32BE - {@link ByteOrderMark#UTF_32LE}</li>
* <li>UTF-32LE - {@link ByteOrderMark#UTF_32BE}</li>
* </ul>
- *
- *
+ *
+ *
* <h3>Example 1 - Detect and exclude a UTF-8 BOM</h3>
- *
+ *
* <pre>
* BOMInputStream bomIn = new BOMInputStream(in);
* if (bomIn.hasBOM()) {
* // has a UTF-8 BOM
* }
* </pre>
- *
+ *
* <h3>Example 2 - Detect a UTF-8 BOM (but don't exclude it)</h3>
- *
+ *
* <pre>
* boolean include = true;
* BOMInputStream bomIn = new BOMInputStream(in, include);
@@ -61,11 +61,11 @@ import org.apache.commons.io.ByteOrderMark;
* // has a UTF-8 BOM
* }
* </pre>
- *
+ *
* <h3>Example 3 - Detect Multiple BOMs</h3>
- *
+ *
* <pre>
- * BOMInputStream bomIn = new BOMInputStream(in,
+ * BOMInputStream bomIn = new BOMInputStream(in,
* ByteOrderMark.UTF_16LE, ByteOrderMark.UTF_16BE,
* ByteOrderMark.UTF_32LE, ByteOrderMark.UTF_32BE
* );
@@ -81,7 +81,7 @@ import org.apache.commons.io.ByteOrderMark;
* // has a UTF-32BE BOM
* }
* </pre>
- *
+ *
* @see org.apache.commons.io.ByteOrderMark
* @see <a href="http://en.wikipedia.org/wiki/Byte_order_mark">Wikipedia - Byte Order Mark</a>
* @version $Id$
@@ -102,7 +102,7 @@ public class BOMInputStream extends ProxyInputStream {
/**
* Constructs a new BOM InputStream that excludes a {@link ByteOrderMark#UTF_8} BOM.
- *
+ *
* @param delegate
* the InputStream to delegate to
*/
@@ -112,7 +112,7 @@ public class BOMInputStream extends ProxyInputStream {
/**
* Constructs a new BOM InputStream that detects a a {@link ByteOrderMark#UTF_8} and optionally includes it.
- *
+ *
* @param delegate
* the InputStream to delegate to
* @param include
@@ -124,7 +124,7 @@ public class BOMInputStream extends ProxyInputStream {
/**
* Constructs a new BOM InputStream that excludes the specified BOMs.
- *
+ *
* @param delegate
* the InputStream to delegate to
* @param boms
@@ -155,7 +155,7 @@ public class BOMInputStream extends ProxyInputStream {
/**
* Constructs a new BOM InputStream that detects the specified BOMs and optionally includes them.
- *
+ *
* @param delegate
* the InputStream to delegate to
* @param include
@@ -178,7 +178,7 @@ public class BOMInputStream extends ProxyInputStream {
/**
* Indicates whether the stream contains one of the specified BOMs.
- *
+ *
* @return true if the stream has one of the specified BOMs, otherwise false if it does not
* @throws IOException
* if an error reading the first bytes of the stream occurs
@@ -189,7 +189,7 @@ public class BOMInputStream extends ProxyInputStream {
/**
* Indicates whether the stream contains the specified BOM.
- *
+ *
* @param bom
* The BOM to check for
* @return true if the stream has the specified BOM, otherwise false if it does not
@@ -207,7 +207,7 @@ public class BOMInputStream extends ProxyInputStream {
/**
* Return the BOM (Byte Order Mark).
- *
+ *
* @return The BOM or null if none
* @throws IOException
* if an error reading the first bytes of the stream occurs
@@ -243,11 +243,11 @@ public class BOMInputStream extends ProxyInputStream {
/**
* Return the BOM charset Name - {@link ByteOrderMark#getCharsetName()}.
- *
+ *
* @return The BOM charset Name or null if no BOM found
* @throws IOException
* if an error reading the first bytes of the stream occurs
- *
+ *
*/
public String getBOMCharsetName() throws IOException {
getBOM();
@@ -258,7 +258,7 @@ public class BOMInputStream extends ProxyInputStream {
* This method reads and either preserves or skips the first bytes in the stream. It behaves like the single-byte
* <code>read()</code> method, either returning a valid byte or -1 to indicate that the initial bytes have been
* processed already.
- *
+ *
* @return the byte read (excluding BOM) or -1 if the end of stream
* @throws IOException
* if an I/O error occurs
@@ -270,7 +270,7 @@ public class BOMInputStream extends ProxyInputStream {
/**
* Find a BOM with the specified bytes.
- *
+ *
* @return The matched BOM or null if none matched
*/
private ByteOrderMark find() {
@@ -284,7 +284,7 @@ public class BOMInputStream extends ProxyInputStream {
/**
* Check if the bytes match a BOM.
- *
+ *
* @param bom
* The BOM
* @return true if the bytes match the bom, otherwise false
@@ -308,7 +308,7 @@ public class BOMInputStream extends ProxyInputStream {
/**
* Invokes the delegate's <code>read()</code> method, detecting and optionally skipping BOM.
- *
+ *
* @return the byte read (excluding BOM) or -1 if the end of stream
* @throws IOException
* if an I/O error occurs
@@ -321,7 +321,7 @@ public class BOMInputStream extends ProxyInputStream {
/**
* Invokes the delegate's <code>read(byte[], int, int)</code> method, detecting and optionally skipping BOM.
- *
+ *
* @param buf
* the buffer to read the bytes into
* @param off
@@ -350,7 +350,7 @@ public class BOMInputStream extends ProxyInputStream {
/**
* Invokes the delegate's <code>read(byte[])</code> method, detecting and optionally skipping BOM.
- *
+ *
* @param buf
* the buffer to read the bytes into
* @return the number of bytes read (excluding BOM) or -1 if the end of stream
@@ -364,7 +364,7 @@ public class BOMInputStream extends ProxyInputStream {
/**
* Invokes the delegate's <code>mark(int)</code> method.
- *
+ *
* @param readlimit
* read ahead limit
*/
@@ -377,7 +377,7 @@ public class BOMInputStream extends ProxyInputStream {
/**
* Invokes the delegate's <code>reset()</code> method.
- *
+ *
* @throws IOException
* if an I/O error occurs
*/
@@ -393,7 +393,7 @@ public class BOMInputStream extends ProxyInputStream {
/**
* Invokes the delegate's <code>skip(long)</code> method, detecting and optionally skipping BOM.
- *
+ *
* @param n
* the number of bytes to skip
* @return the number of bytes to skipped or -1 if the end of stream
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/input/BrokenInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/BrokenInputStream.java b/src/main/java/org/apache/commons/io/input/BrokenInputStream.java
index a8b0fe9..df39fde 100644
--- a/src/main/java/org/apache/commons/io/input/BrokenInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/BrokenInputStream.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/input/CharSequenceReader.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/CharSequenceReader.java b/src/main/java/org/apache/commons/io/input/CharSequenceReader.java
index 3649cf8..b561490 100644
--- a/src/main/java/org/apache/commons/io/input/CharSequenceReader.java
+++ b/src/main/java/org/apache/commons/io/input/CharSequenceReader.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/input/CloseShieldInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/CloseShieldInputStream.java b/src/main/java/org/apache/commons/io/input/CloseShieldInputStream.java
index 5f48c0a..5b66f84 100644
--- a/src/main/java/org/apache/commons/io/input/CloseShieldInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/CloseShieldInputStream.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/input/CountingInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/CountingInputStream.java b/src/main/java/org/apache/commons/io/input/CountingInputStream.java
index c661c48..2374da9 100644
--- a/src/main/java/org/apache/commons/io/input/CountingInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/CountingInputStream.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.
@@ -93,8 +93,8 @@ public class CountingInputStream extends ProxyInputStream {
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>.
@@ -125,8 +125,8 @@ public class CountingInputStream extends ProxyInputStream {
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>
* and 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/input/DemuxInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/DemuxInputStream.java b/src/main/java/org/apache/commons/io/input/DemuxInputStream.java
index 4f1286b..caccf0a 100644
--- a/src/main/java/org/apache/commons/io/input/DemuxInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/DemuxInputStream.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/input/InfiniteCircularInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/InfiniteCircularInputStream.java b/src/main/java/org/apache/commons/io/input/InfiniteCircularInputStream.java
index 2b2841c..a2a8973 100644
--- a/src/main/java/org/apache/commons/io/input/InfiniteCircularInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/InfiniteCircularInputStream.java
@@ -19,7 +19,7 @@ package org.apache.commons.io.input;
import java.io.InputStream;
/**
- *
+ *
* An {@link InputStream} that infinitely repeats provided bytes.
* <p>
* Closing a <tt>InfiniteCircularInputStream</tt> has no effect. The methods in
@@ -34,7 +34,7 @@ public class InfiniteCircularInputStream extends InputStream {
/**
* Creates a InfiniteCircularStream from the specified array of chars.
- *
+ *
* @param repeatedContent
* Input buffer to be repeated (not copied)
*/
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/input/MessageDigestCalculatingInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/MessageDigestCalculatingInputStream.java b/src/main/java/org/apache/commons/io/input/MessageDigestCalculatingInputStream.java
index 21d2d5c..6c9577e 100644
--- a/src/main/java/org/apache/commons/io/input/MessageDigestCalculatingInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/MessageDigestCalculatingInputStream.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.
@@ -38,7 +38,7 @@ public class MessageDigestCalculatingInputStream extends ObservableInputStream {
private final MessageDigest md;
/**
- * Creates an MessageDigestMaintainingObserver for the given MessageDigest.
+ * Creates an MessageDigestMaintainingObserver for the given MessageDigest.
* @param pMd the message digest to use
*/
public MessageDigestMaintainingObserver(MessageDigest pMd) {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/input/NullInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/NullInputStream.java b/src/main/java/org/apache/commons/io/input/NullInputStream.java
index e383fbf..46339a6 100644
--- a/src/main/java/org/apache/commons/io/input/NullInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/NullInputStream.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/input/NullReader.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/NullReader.java b/src/main/java/org/apache/commons/io/input/NullReader.java
index e86da34..3d610e8 100644
--- a/src/main/java/org/apache/commons/io/input/NullReader.java
+++ b/src/main/java/org/apache/commons/io/input/NullReader.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/input/ObservableInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/ObservableInputStream.java b/src/main/java/org/apache/commons/io/input/ObservableInputStream.java
index bae3b46..2d50bb7 100644
--- a/src/main/java/org/apache/commons/io/input/ObservableInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/ObservableInputStream.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.
@@ -45,7 +45,7 @@ public class ObservableInputStream extends ProxyInputStream {
* @throws IOException if an i/o-error occurs
*/
void data(int pByte) throws IOException {}
-
+
/** Called to indicate, that {@link InputStream#read(byte[])}, or
* {@link InputStream#read(byte[], int, int)} have been called, and are about to
* invoke data.
@@ -262,5 +262,5 @@ public class ObservableInputStream extends ProxyInputStream {
}
}
}
-
+
}
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/input/ProxyReader.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/ProxyReader.java b/src/main/java/org/apache/commons/io/input/ProxyReader.java
index bbbd954..15a5717 100644
--- a/src/main/java/org/apache/commons/io/input/ProxyReader.java
+++ b/src/main/java/org/apache/commons/io/input/ProxyReader.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.
@@ -24,12 +24,12 @@ import java.io.Reader;
import java.nio.CharBuffer;
/**
- * 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.
+ * 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.
* <p>
* It is an alternative base class to FilterReader
- * to increase reusability, because FilterReader changes the
+ * to increase reusability, because FilterReader changes the
* methods being called, such as read(char[]) to read(char[], int, int).
*
*/
@@ -37,7 +37,7 @@ public abstract class ProxyReader extends FilterReader {
/**
* Constructs a new ProxyReader.
- *
+ *
* @param proxy the Reader to delegate to
*/
public ProxyReader(final Reader proxy) {
http://git-wip-us.apache.org/repos/asf/commons-io/blob/a768fe9a/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java b/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
index 1aece68..872ba27 100644
--- a/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
+++ b/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
@@ -243,7 +243,7 @@ public class ReversedLinesFileReader implements Closeable {
/**
* Handles block rollover
- *
+ *
* @return the new FilePart or null
* @throws IOException if there was a problem reading the file
*/
@@ -268,7 +268,7 @@ public class ReversedLinesFileReader implements Closeable {
/**
* Reads a line.
- *
+ *
* @return the line or null
* @throws IOException if there is an error reading from the file
*/
@@ -343,7 +343,7 @@ public class ReversedLinesFileReader implements Closeable {
/**
* Finds the new-line sequence and return its length.
- *
+ *
* @param data buffer to scan
* @param i start offset in buffer
* @return length of newline sequence or 0 if none found
[2/3] commons-io git commit: Remove trailing spaces.
Posted by gg...@apache.org.
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.