Repository navigation
Correct the class names the deprecation notes point at - #428
Merged
Merged
Conversation
42 references across 6 files named classes that do not exist, so the
migration advice attached to the 3.5.0 deprecation sweep sent readers
nowhere.
java.nio.files.Files -> java.nio.file.Files (14)
java.nio.charset.StandardCharset -> StandardCharsets (12)
java.nio.Files -> java.nio.file.Files (6)
java.lang.Objects -> java.util.Objects (3)
commons.io.input.XmlStreamWriter -> commons.io.output.... (3)
Charset.getDefaultCharset -> Charset.defaultCharset (2)
commons.io.FileNameUtils -> FilenameUtils (1)
{}@code -> {@code (1)
The commons-io packages were read from the 2.22.0 jar: XmlStreamReader
is in input, XmlStreamWriter is in output.
Javadoc text only; no signature or behaviour changes.
Verified: mvn -B javadoc:javadoc -> BUILD SUCCESS; mvn -B verify on
JDK 17 -> Tests run: 788, Failures: 0
elharo
approved these changes
Sep 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
42 references in
@deprecatednotes named classes that do not exist. Since 3.5.0 is largely a deprecation sweep, these notes are the migration advice, and as written a good part of it sends readers to packages that were never there.java.nio.files.Filesjava.nio.file.Filesjava.nio.charset.StandardCharsetStandardCharsetsjava.nio.Filesjava.nio.file.Filesjava.lang.Objectsjava.util.Objectscommons.io.input.XmlStreamWritercommons.io.output.XmlStreamWriterCharset.getDefaultCharsetCharset.defaultCharsetcommons.io.FileNameUtilscommons.io.FilenameUtils{}@code{@codeThe commons-io packages were read from the 2.22.0 jar rather than assumed:
XmlStreamReaderis ininput,XmlStreamWriteris inoutput. TheXmlStreamReaderreferences were already right and are untouched.Javadoc text only across 6 files. No signature, behaviour or dependency changes.
Verified:
mvn -B javadoc:javadoc-> BUILD SUCCESS.mvn -B verifyon JDK 17 -> Tests run: 788, Failures: 0, Errors: 0. Spotless clean. Theno commentwarnings that remain are pre-existing and untouched.This change was created with AI assistance.