Skip to content

Commit a768fe9

Browse files
committed
Remove trailing spaces.
1 parent d00ff3a commit a768fe9

138 files changed

Lines changed: 476 additions & 476 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/main/java/org/apache/commons/io/ByteOrderFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class ByteOrderFactory {
5252
* <li>{@code ByteOrderFactory.parseByteOrder("little")} returns {@code ByteOrder.LITTLE_ENDIAN}</li>
5353
* <li>{@code ByteOrderFactory.parseByteOrder("big")} returns {@code ByteOrder.BIG_ENDIAN}</li>
5454
* </ul>
55-
*
55+
*
5656
* @param value
5757
* the {@code String} containing the ByteOrder representation to be parsed
5858
* @return the ByteOrder represented by the string argument

src/main/java/org/apache/commons/io/Charsets.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* The ASF licenses this file to You under the Apache License, Version 2.0
66
* (the "License"); you may not use this file except in compliance with
77
* the License. You may obtain a copy of the License at
8-
*
8+
*
99
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
10+
*
1111
* Unless required by applicable law or agreed to in writing, software
1212
* distributed under the License is distributed on an "AS IS" BASIS,
1313
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -24,15 +24,15 @@
2424

2525
/**
2626
* Charsets required of every implementation of the Java platform.
27-
*
27+
*
2828
* From the Java documentation <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">
2929
* Standard charsets</a>:
3030
* <p>
3131
* <cite>Every implementation of the Java platform is required to support the following character encodings. Consult
3232
* the release documentation for your implementation to see if any other encodings are supported. Consult the release
3333
* documentation for your implementation to see if any other encodings are supported. </cite>
3434
* </p>
35-
*
35+
*
3636
* <ul>
3737
* <li><code>US-ASCII</code><br>
3838
* 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 @@
4848
* Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either order
4949
* accepted on input, big-endian used on output.)</li>
5050
* </ul>
51-
*
51+
*
5252
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
5353
* @since 2.3
5454
* @version $Id$
@@ -66,7 +66,7 @@ public class Charsets {
6666
* From the Java documentation <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">
6767
* Standard charsets</a>:
6868
* </p>
69-
*
69+
*
7070
* @return An immutable, case-insensitive map from canonical charset names to charset objects.
7171
* @see Charset#availableCharsets()
7272
* @since 2.5
@@ -85,7 +85,7 @@ public static SortedMap<String, Charset> requiredCharsets() {
8585

8686
/**
8787
* Returns the given Charset or the default Charset if the given Charset is null.
88-
*
88+
*
8989
* @param charset
9090
* A charset or null.
9191
* @return the given Charset or the default Charset if the given Charset is null
@@ -96,7 +96,7 @@ public static Charset toCharset(final Charset charset) {
9696

9797
/**
9898
* Returns a Charset for the named charset. If the name is null, return the default Charset.
99-
*
99+
*
100100
* @param charset
101101
* The name of the requested charset, may be null.
102102
* @return a Charset for the named charset
@@ -112,7 +112,7 @@ public static Charset toCharset(final String charset) {
112112
* <p>
113113
* Every implementation of the Java platform is required to support this character encoding.
114114
* </p>
115-
*
115+
*
116116
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
117117
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
118118
*/
@@ -126,7 +126,7 @@ public static Charset toCharset(final String charset) {
126126
* <p>
127127
* Every implementation of the Java platform is required to support this character encoding.
128128
* </p>
129-
*
129+
*
130130
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
131131
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
132132
*/
@@ -141,7 +141,7 @@ public static Charset toCharset(final String charset) {
141141
* <p>
142142
* Every implementation of the Java platform is required to support this character encoding.
143143
* </p>
144-
*
144+
*
145145
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
146146
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
147147
*/
@@ -155,7 +155,7 @@ public static Charset toCharset(final String charset) {
155155
* <p>
156156
* Every implementation of the Java platform is required to support this character encoding.
157157
* </p>
158-
*
158+
*
159159
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
160160
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
161161
*/
@@ -169,7 +169,7 @@ public static Charset toCharset(final String charset) {
169169
* <p>
170170
* Every implementation of the Java platform is required to support this character encoding.
171171
* </p>
172-
*
172+
*
173173
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
174174
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
175175
*/
@@ -183,7 +183,7 @@ public static Charset toCharset(final String charset) {
183183
* <p>
184184
* Every implementation of the Java platform is required to support this character encoding.
185185
* </p>
186-
*
186+
*
187187
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
188188
* @deprecated Use Java 7's {@link java.nio.charset.StandardCharsets}
189189
*/

src/main/java/org/apache/commons/io/CopyUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* The ASF licenses this file to You under the Apache License, Version 2.0
66
* (the "License"); you may not use this file except in compliance with
77
* the License. You may obtain a copy of the License at
8-
*
8+
*
99
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
10+
*
1111
* Unless required by applicable law or agreed to in writing, software
1212
* distributed under the License is distributed on an "AS IS" BASIS,
1313
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/main/java/org/apache/commons/io/EndianUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* The ASF licenses this file to You under the Apache License, Version 2.0
66
* (the "License"); you may not use this file except in compliance with
77
* the License. You may obtain a copy of the License at
8-
*
8+
*
99
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
10+
*
1111
* Unless required by applicable law or agreed to in writing, software
1212
* distributed under the License is distributed on an "AS IS" BASIS,
1313
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -188,7 +188,7 @@ public static long readSwappedUnsignedInteger(final byte[] data, final int offse
188188

189189
final long high = data[ offset + 3 ] & 0xff;
190190

191-
return (high << 24) + (0xffffffffL & low);
191+
return (high << 24) + (0xffffffffL & low);
192192
}
193193

194194
/**
@@ -369,7 +369,7 @@ public static long readSwappedUnsignedInteger(final InputStream input)
369369

370370
final long high = value4 & 0xff;
371371

372-
return (high << 24) + (0xffffffffL & low);
372+
return (high << 24) + (0xffffffffL & low);
373373
}
374374

375375
/**

src/main/java/org/apache/commons/io/FileCleaner.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* The ASF licenses this file to You under the Apache License, Version 2.0
66
* (the "License"); you may not use this file except in compliance with
77
* the License. You may obtain a copy of the License at
8-
*
8+
*
99
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
10+
*
1111
* Unless required by applicable law or agreed to in writing, software
1212
* distributed under the License is distributed on an "AS IS" BASIS,
1313
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -135,7 +135,7 @@ public static int getTrackCount() {
135135
* posing a memory leak.
136136
* <p>
137137
* This method allows the thread to be terminated. Simply call this method
138-
* in the resource cleanup code, such as
138+
* in the resource cleanup code, such as
139139
* {@code javax.servlet.ServletContextListener.contextDestroyed(javax.servlet.ServletContextEvent)}.
140140
* One called, no new objects can be tracked by the file cleaner.
141141
* @deprecated Use {@link FileCleaningTracker#exitWhenFinished()}.
@@ -150,7 +150,7 @@ public static synchronized void exitWhenFinished() {
150150
* This is mainly useful for code, which wants to support the new
151151
* {@link FileCleaningTracker} class while maintain compatibility with the
152152
* deprecated {@link FileCleaner}.
153-
*
153+
*
154154
* @return the singleton instance
155155
*/
156156
public static FileCleaningTracker getInstance() {

src/main/java/org/apache/commons/io/FileCleaningTracker.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* The ASF licenses this file to You under the Apache License, Version 2.0
66
* (the "License"); you may not use this file except in compliance with
77
* the License. You may obtain a copy of the License at
8-
*
8+
*
99
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
10+
*
1111
* Unless required by applicable law or agreed to in writing, software
1212
* distributed under the License is distributed on an "AS IS" BASIS,
1313
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/main/java/org/apache/commons/io/FileDeleteStrategy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* The ASF licenses this file to You under the Apache License, Version 2.0
66
* (the "License"); you may not use this file except in compliance with
77
* the License. You may obtain a copy of the License at
8-
*
8+
*
99
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
10+
*
1111
* Unless required by applicable law or agreed to in writing, software
1212
* distributed under the License is distributed on an "AS IS" BASIS,
1313
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/main/java/org/apache/commons/io/FileExistsException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* The ASF licenses this file to You under the Apache License, Version 2.0
66
* (the "License"); you may not use this file except in compliance with
77
* the License. You may obtain a copy of the License at
8-
*
8+
*
99
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
10+
*
1111
* Unless required by applicable law or agreed to in writing, software
1212
* distributed under the License is distributed on an "AS IS" BASIS,
1313
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/main/java/org/apache/commons/io/FileUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ private static void innerListFiles(final Collection<File> files, final File dire
504504
*
505505
* @param directory the directory to search in
506506
* @param fileFilter filter to apply when finding files. Must not be {@code null},
507-
* use {@link TrueFileFilter#INSTANCE} to match all files in selected directories.
507+
* use {@link TrueFileFilter#INSTANCE} to match all files in selected directories.
508508
* @param dirFilter optional filter to apply when finding subdirectories.
509509
* If this parameter is {@code null}, subdirectories will not be included in the
510510
* search. Use {@link TrueFileFilter#INSTANCE} to match all directories.
@@ -1551,7 +1551,7 @@ public static void copyToFile(final InputStream source, final File destination)
15511551
*
15521552
* @throws NullPointerException if source or destination is {@code null}
15531553
* @throws IOException if source or destination is invalid
1554-
* @throws IOException if an IO error occurs during copying
1554+
* @throws IOException if an IO error occurs during copying
15551555
* @see #copyDirectoryToDirectory(File, File)
15561556
* @see #copyFileToDirectory(File, File)
15571557
* @since 2.6

src/main/java/org/apache/commons/io/FilenameUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ public static int indexOfLastSeparator(final String filename) {
716716
* <p>
717717
* The output will be the same irrespective of the machine that the code is running on.
718718
* </p>
719-
*
719+
*
720720
* @param filename
721721
* the filename to find the last extension separator in, null returns -1
722722
* @return the index of the last extension separator character, or -1 if there is no such character

0 commit comments

Comments
 (0)