Skip to content

Commit 4fa1b22

Browse files
authored
Fix typos (#375)
* Fix typos * Reintroduce auto-generated typos
1 parent 8e07211 commit 4fa1b22

7 files changed

Lines changed: 11 additions & 11 deletions

File tree

RELEASE-NOTES.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ Enhancements from 1.4
802802
- Annotate with @Override and @Deprecated
803803

804804
* [IO-178] New BOMInputStream and ByteOrderMark implementations - to detect and optionally exclude an initial Byte Order mark (BOM)
805-
* [IO-197] New BoundedInputStream (copied from from Apache JackRabbit)
805+
* [IO-197] New BoundedInputStream (copied from Apache JackRabbit)
806806
* [IO-193] New Broken Input and Output streams
807807
* [IO-132] New File Listener/Monitor facility
808808
* [IO-158] New ReaderInputStream and WriterOutputStream implementations
@@ -894,7 +894,7 @@ Semantic compatible - Yes
894894
Commons IO 1.4 introduces four new implementations which depend on Java 4 features
895895
(CharSequenceReader, FileWriterWithEncoding, IOExceptionWithCause and RegexFileFilter).
896896
It has been built with the JDK source and target options set to Java 1.3 and, except for
897-
those implementations, can be used with Java 1.3 (see IO IO-127).
897+
those implementations, can be used with Java 1.3 (see IO-127).
898898

899899
Deprecations from 1.3.2
900900
-----------------------

src/changes/release-notes.vm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ Commons IO 1.4 requires Java 1.3.
256256
Historical list of changes: https://commons.apache.org/proper/commons-io/changes-report.html
257257

258258
For complete information on Apache Commons IO, including instructions on how to submit bug reports,
259-
patches, or suggestions for improvement, see the Apache Apache Commons IO website:
259+
patches, or suggestions for improvement, see the Apache Commons IO website:
260260

261261
https://commons.apache.org/proper/commons-io/
262262

@@ -371,7 +371,7 @@ Commons IO 1.4 requires Java 1.3.
371371
Historical list of changes: https://commons.apache.org/proper/commons-io/changes-report.html
372372

373373
For complete information on Apache Commons IO, including instructions on how to submit bug reports,
374-
patches, or suggestions for improvement, see the Apache Apache Commons IO website:
374+
patches, or suggestions for improvement, see the Apache Commons IO website:
375375

376376
https://commons.apache.org/proper/commons-io/
377377

@@ -832,7 +832,7 @@ Enhancements from 1.4
832832
- Annotate with @Override and @Deprecated
833833

834834
* [IO-178] New BOMInputStream and ByteOrderMark implementations - to detect and optionally exclude an initial Byte Order mark (BOM)
835-
* [IO-197] New BoundedInputStream (copied from from Apache JackRabbit)
835+
* [IO-197] New BoundedInputStream (copied from Apache JackRabbit)
836836
* [IO-193] New Broken Input and Output streams
837837
* [IO-132] New File Listener/Monitor facility
838838
* [IO-158] New ReaderInputStream and WriterOutputStream implementations
@@ -924,7 +924,7 @@ Semantic compatible - Yes
924924
Commons IO 1.4 introduces four new implementations which depend on Java 4 features
925925
(CharSequenceReader, FileWriterWithEncoding, IOExceptionWithCause and RegexFileFilter).
926926
It has been built with the JDK source and target options set to Java 1.3 and, except for
927-
those implementations, can be used with Java 1.3 (see IO IO-127).
927+
those implementations, can be used with Java 1.3 (see IO-127).
928928

929929
Deprecations from 1.3.2
930930
-----------------------

src/main/java/org/apache/commons/io/file/PathUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ public static FileTime getLastModifiedFileTime(final URI uri) throws IOException
877877
* @param url the file to query.
878878
* @return the file's last modified time.
879879
* @throws IOException Thrown if an I/O error occurs.
880-
* @throws URISyntaxException if the URL is not formatted strictly according to to RFC2396 and cannot be converted to a
880+
* @throws URISyntaxException if the URL is not formatted strictly according to RFC2396 and cannot be converted to a
881881
* URI.
882882
* @since 2.12.0
883883
*/

src/main/java/org/apache/commons/io/input/MarkShieldInputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* <p>
2929
* This class is typically used in cases where an input stream that supports
3030
* marking needs to be passed to a component that wants to explicitly mark
31-
* the stream, but it it is not desirable to allow marking of the stream.
31+
* the stream, but it is not desirable to allow marking of the stream.
3232
* </p>
3333
*
3434
* @since 2.8.0

src/site/xdoc/upgradeto1_4.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Semantic compatible - Yes
4747
Commons IO 1.4 introduces four new implementations which depend on JDK 1.4 features
4848
(CharSequenceReader, FileWriterWithEncoding, IOExceptionWithCause and RegexFileFilter).
4949
It has been built with the JDK source and target options set to JDK 1.3 and, except for
50-
those implementations, can be used with JDK 1.3 (see IO IO-127).
50+
those implementations, can be used with JDK 1.3 (see IO-127).
5151

5252

5353
Deprecations from 1.3.2

src/site/xdoc/upgradeto2_0.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Enhancements from 1.4
7272
- Annotate with @Override and @Deprecated
7373

7474
* [IO-178] New BOMInputStream and ByteOrderMark implementations - to detect and optionally exclude an initial Byte Order mark (BOM)
75-
* [IO-197] New BoundedInputStream (copied from from Apache JackRabbit)
75+
* [IO-197] New BoundedInputStream (copied from Apache JackRabbit)
7676
* [IO-193] New Broken Input and Output streams
7777
* [IO-132] New File Listener/Monitor facility
7878
* [IO-158] New ReaderInputStream and WriterOutputStream implementations

src/test/java/org/apache/commons/io/input/TailerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ public void testTailer() throws Exception {
632632
assertEquals(1, listener.initialized, "Expected init to be called");
633633
// assertEquals(0 , listener.notFound, "fileNotFound should not be called"); // there is a window when it might be
634634
// called
635-
assertEquals(1, listener.rotated, "fileRotated should be be called");
635+
assertEquals(1, listener.rotated, "fileRotated should be called");
636636
}
637637
}
638638

0 commit comments

Comments
 (0)