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 <ggreg...@apache.org> Authored: Wed Sep 27 12:00:03 2017 -0600 Committer: Gary Gregory <ggreg...@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