This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push: new 929a59a8f Comment: Remove unnecessary Latin acronym 929a59a8f is described below commit 929a59a8f2dda1242b9841b4d9c667f2e5130b12 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Mar 14 10:05:52 2025 -0400 Comment: Remove unnecessary Latin acronym --- RELEASE-NOTES.txt | 18 +++++++++--------- src/changes/changes.xml | 2 +- src/main/java/org/apache/commons/io/FilenameUtils.java | 6 +++--- src/main/java/org/apache/commons/io/LineIterator.java | 2 +- src/site/xdoc/upgradeto2_5.xml | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index b3b62dfa3..6817da84b 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -44,8 +44,8 @@ o Fix implicit narrowing conversion in compound assignment in Unsynchro o IO-860: Missing reserved file names in FileSystem.WINDOWS (superscript digits for COM and LPT). Thanks to Stefan Feenstra, Gary Gregory. o IO-856: FileUtils.listFiles(final File, String[], boolean) can throw NoSuchFileException #697, #699. Thanks to Thomas Hartwig, Gary Gregory. o IO-859: FileUtils.forceDelete on non-existent file on Windows throws IOException rather than FileNotFoundException. Thanks to JD Dean, Gary Gregory. -o Use Unicode escapes for superscript characters. #701. Thanks to �amonn McManus. -o IO-863: Recent incompatible change to FileUtils.listFiles re extensions, see also IO-856. Thanks to �amonn McManus, Gary Gregory. +o Use Unicode escapes for superscript characters. #701. Thanks to �amonn McManus. +o IO-863: Recent incompatible change to FileUtils.listFiles re extensions, see also IO-856. Thanks to �amonn McManus, Gary Gregory. o IO-857: Javadoc: Update details for PathUtils "clean" behavior. Thanks to Dmitry, Gary Gregory. Changes @@ -853,7 +853,7 @@ Fixed Bugs * IO-749: FileUtils.listFiles() does not list matching files if File parameter is a symbolic link. Thanks to haihuiyang, Gary Gregory. * Fix typo in Javadocs for FileUtils#convertFileCollectionToFileArray() #276. Thanks to niranjanghule, Gary Gregory. * Avoid Code Duplication: Reuse Sleep from ThreadMonitor #66. Thanks to DaGeRe, Gary Gregory. -* IO-750: FileUtils.iterateFiles also lists directories. Thanks to Sita Ge�ner, Sebastian Peters, Gary Gregory. +* IO-750: FileUtils.iterateFiles also lists directories. Thanks to Sita Ge�ner, Sebastian Peters, Gary Gregory. * IO-721: Wrong exception message in FileUtils.setLastModified(File, File). Thanks to Dirk Heinrichs, Gary Gregory. * IO-717: Infinite loop in ReaderInputStream instead of throwing exception for CodingErrorAction.REPORT. Thanks to Marcono1234, Gary Gregory. * IO-716: ReaderInputStream enter infinite loop for too small buffer sizes. Thanks to Marcono1234, Gary Gregory. @@ -896,7 +896,7 @@ Fixed Bugs * IO-611: FilenameUtils.normalize javadoc and tests #383. Thanks to Fedor Urvanov. * IO-611: Better docs in IOUtils and IOUtils.byteArray(int size) #374. Thanks to ArdenL-Liu, Bruno P. Kinoshita, Gary Gregory. * IO-782: SequenceReader should close readers when its close method is called #391. Thanks to Matteo Di Giovinazzo, Gary Gregory. -* IO-790: Fix symbolic link file filter #450. Thanks to Miguel Mu�oz, Gary Gregory. +* IO-790: Fix symbolic link file filter #450. Thanks to Miguel Mu�oz, Gary Gregory. * IO-790: Apply nanoseconds precision for QueueInputStream timeout duration. #453. Thanks to maxxedev, Gary Gregory, Bruno P. Kinoshita. * Fix overflow for FileUtilsTest constants #456. Thanks to Marcono1234. * Serialization is deprecated and will be removed in 3.0. Thanks to Gary Gregory. @@ -1274,7 +1274,7 @@ Changes * IO-628: Migration to JUnit Jupiter #97. Thanks to Allon Mureinik. * IO-630: Deprecate org.apache.commons.io.output.NullOutputStream.NullOutputStream() in favor of org.apache.commons.io.output.NullOutputStream.NULL_OUTPUT_STREAM. Thanks to Gary Gregory. * IO-629: FileUtils#forceDelete should use Files#delete rather than File#delete so exception messages includes reason for failure. Thanks to Ian Springer, Ian Springer, Gary Gregory. -* IO-634: Make getCause synchronized and use a Deque instead of a Stack #64. Thanks to V�clav Haisman, Bruno P. Kinoshita, Gary Gregory. +* IO-634: Make getCause synchronized and use a Deque instead of a Stack #64. Thanks to V�clav Haisman, Bruno P. Kinoshita, Gary Gregory. * Update tests from Apache Commons Lang 3.9 to 3.10. Thanks to Gary Gregory. * Update tests org.junit-pioneer:junit-pioneer 0.3.0 -> 0.6.0. Thanks to Gary Gregory. * Update tests org.junit.jupiter:junit-jupiter 5.5.2 -> 5.6.2. Thanks to Gary Gregory. @@ -1488,14 +1488,14 @@ Fixed Bugs * IO-484: FilenameUtils should handle embedded null bytes Thanks to Philippe Arteau. * IO-481: Changed/Corrected algorithm for waitFor * IO-428: BOMInputStream.skip returns wrong count if stream contains no BOM Thanks to Stefan Gmeiner. -* IO-488: FileUtils.waitFor(...) swallows thread interrupted status Thanks to Bj�rn Buchner. +* IO-488: FileUtils.waitFor(...) swallows thread interrupted status Thanks to Bj�rn Buchner. * IO-452: Support for symlinks with missing target. Added support for JDK7 symlink features when present Thanks to David Standish. * IO-453: Regression in FileUtils.readFileToString from 2.0.1 Thanks to Steven Christou. * IO-451: ant test fails - resources missing from test classpath Thanks to David Standish. * IO-435: Document that FileUtils.deleteDirectory, directoryContains and cleanDirectory may throw an IllegalArgumentException in case the passed directory does not exist or is not a directory. Thanks to Dominik Stadler. -* IO-424: Javadoc fixes, mostly to appease 1.8.0 Thanks to Ville Skytt�. +* IO-424: Javadoc fixes, mostly to appease 1.8.0 Thanks to Ville Skytt�. * IO-389: FileUtils.sizeOfDirectory can throw IllegalArgumentException Thanks to Austin Doupnik. * IO-390: FileUtils.sizeOfDirectoryAsBigInteger can overflow. Ensure that recursive calls all use BigInteger @@ -1530,7 +1530,7 @@ Changes * IO-462: IOExceptionWithCause no longer needed * IO-422: Deprecate Charsets Charset constants in favor of Java 7's java.nio.charset.StandardCharsets * IO-239: Convert IOCase to a Java 1.5+ Enumeration - [N.B. this is binary compatible] + [this is binary compatible] * IO-328: getPrefixLength returns null if filename has leading slashes Javadoc: add examples to show correct behavior; add unit tests * IO-299: FileUtils.listFilesAndDirs includes original dir in results even when it doesn't match filter @@ -1641,7 +1641,7 @@ New features * Allow applications to provide buffer (or size) for copyLarge methods. Issue: IO-308. Thanks to Manoj Mokashi. * New copyLarge() method in IOUtils that takes additional offset, length arguments Issue: IO-305. Thanks to Manoj Mokashi. * Use terabyte (TB), petabyte (PB) and exabyte (EB) in FileUtils.byteCountToDisplaySize(long size) Issue: IO-287. Thanks to Ron Kuris, Gary Gregory. -* FileUtils.listFiles() doesn't return directories Issue: IO-173. Thanks to Marcos Vin�cius da Silva. +* FileUtils.listFiles() doesn't return directories Issue: IO-173. Thanks to Marcos Vin�cius da Silva. * CharSequenceInputStream to efficiently stream content of a CharSequence Issue: IO-297. Thanks to Oleg Kalnichevski. * The second constructor of Tailer class does not pass 'delay' to the third one Issue: IO-304. Thanks to liangly. * TeeOutputStream does not call branch.close() when main.close() throws an exception Issue: IO-303. Thanks to fabian.barney. diff --git a/src/changes/changes.xml b/src/changes/changes.xml index a92b183f8..cbd07f5fe 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -1942,7 +1942,7 @@ The <action> type attribute can be add,update,fix,remove. </action> <action issue="IO-239" dev="sebb" type="update"> Convert IOCase to a Java 1.5+ Enumeration - [N.B. this is binary compatible] + [this is binary compatible] </action> <action issue="IO-233" dev="sebb" type="add"> Add Methods for Buffering Streams/Writers To IOUtils diff --git a/src/main/java/org/apache/commons/io/FilenameUtils.java b/src/main/java/org/apache/commons/io/FilenameUtils.java index d90f1599f..c94a1e3f2 100644 --- a/src/main/java/org/apache/commons/io/FilenameUtils.java +++ b/src/main/java/org/apache/commons/io/FilenameUtils.java @@ -1587,7 +1587,7 @@ private static char toSeparator(final boolean unixSeparator) { * wildcardMatch("c.txt", "*.???") --> true * wildcardMatch("c.txt", "*.????") --> false * </pre> - * N.B. the sequence "*?" does not work properly at present in match strings. + * The sequence "*?" does not work properly at present in match strings. * * @param fileName the file name to match on * @param wildcardMatcher the wildcard string to match against @@ -1604,7 +1604,7 @@ public static boolean wildcardMatch(final String fileName, final String wildcard * <p> * The wildcard matcher uses the characters '?' and '*' to represent a * single or multiple (zero or more) wildcard characters. - * N.B. the sequence "*?" does not work properly at present in match strings. + * The sequence "*?" does not work properly at present in match strings. * * @param fileName the file name to match on * @param wildcardMatcher the wildcard string to match against @@ -1705,7 +1705,7 @@ public static boolean wildcardMatch(final String fileName, final String wildcard * wildcardMatch("c.txt", "*.???") --> true * wildcardMatch("c.txt", "*.????") --> false * </pre> - * N.B. the sequence "*?" does not work properly at present in match strings. + * The sequence "*?" does not work properly at present in match strings. * * @param fileName the file name to match on * @param wildcardMatcher the wildcard string to match against diff --git a/src/main/java/org/apache/commons/io/LineIterator.java b/src/main/java/org/apache/commons/io/LineIterator.java index 93ed01d9a..4165068f1 100644 --- a/src/main/java/org/apache/commons/io/LineIterator.java +++ b/src/main/java/org/apache/commons/io/LineIterator.java @@ -50,7 +50,7 @@ */ public class LineIterator implements Iterator<String>, Closeable { - // N.B. This class deliberately does not implement Iterable, see https://issues.apache.org/jira/browse/IO-181 + // This class deliberately does not implement Iterable, see https://issues.apache.org/jira/browse/IO-181 /** * Closes a {@link LineIterator} quietly. diff --git a/src/site/xdoc/upgradeto2_5.xml b/src/site/xdoc/upgradeto2_5.xml index ba5008ea8..0bacb268f 100644 --- a/src/site/xdoc/upgradeto2_5.xml +++ b/src/site/xdoc/upgradeto2_5.xml @@ -123,7 +123,7 @@ limitations under the License. o IO-462: IOExceptionWithCause no longer needed o IO-422: Deprecate Charsets Charset constants in favor of Java 7's java.nio.charset.StandardCharsets o IO-239: Convert IOCase to a Java 1.5+ Enumeration - [N.B. this is binary compatible] + [this is binary compatible] o IO-328: getPrefixLength returns null if filename has leading slashes Javadoc: add examples to show correct behavior; add unit tests o IO-299: FileUtils.listFilesAndDirs includes original dir in results even when it doesn't match filter