-
InterfaceDescription
-
ClassDescriptionReplace with
Collections.singletonList(Object)
.Replace withCollections.singleton(Object)
to be removed in favor of Confound library.Will be moved toRegularExpressions
.
-
FieldDescriptionto be removed in favor of
Characters.NO_CHARS
.Moved toClassResources.PATH_SEPARATOR
.to be renamedPROPERTIES_FILENAME_EXTENSION
.
-
MethodDescriptionto be removed in favor of
Filenames.appendBase(String, CharSequence)
.to be removed in favor ofFilenames.getBase(String)
.to be removed in favor ofFilenames.findExtension(String)
.to be removed in favor ofFiles.addNameExtension(File, String)
.to be removed in favor ofFiles.changeNameExtension(File, String)
.in favor of ofFiles.deleteFileTree(Path)
.to be removed in favor ofFiles.findNameExtension(File)
.to be removed in favor ofFiles.removeNameExtension(File)
.to be moved to an I/O strategy class, or removed altogether.to be moved to an I/O strategy class, or removed altogether.to be removed in favor ofPaths.addFilenameExtension(Path, String)
.to be removed in favor ofPaths.changeFilenameExtension(Path, String)
.to be removed in favor ofPaths.removeFilenameExtension(Path)
.to be removed in favor ofCharSequences.indexOf(CharSequence, Characters)
.to be removed in favor ofCharSequences.indexOf(CharSequence, Characters, int)
.to be removed in favor ofCharSequences.lastIndexNotOf(CharSequence, Characters)
.to be removed in favor ofCharSequences.lastIndexOf(CharSequence, Characters, int)
.Create separateisCharacters()
method and useASCII.DIGIT_CHARACTERS
.to be removed in favor ofCharSequences.indexNotOf(CharSequence, Characters)
.to be removed in favor ofCharSequences.indexNotOf(CharSequence, Characters, int)
.to be removed in favor ofCharSequences.lastIndexNotOf(CharSequence, Characters)
.to be removed in favor ofCharSequences.lastIndexNotOf(CharSequence, Characters, int)
.Moved toClassResources.findResourceName(String)
.Moved to io.ploop.reflect.Reflector.isReflectionAssignableFrom()to be removed in favor ofObjects.equals(Object, Object)
from Java 7.to be removed in favor ofObjects.hash(Object...)
from Java 7.in favor ofSystem.lineSeparator()
.to be removed in favor ofStrings.forceLength(String, int, char)
.to be removed in favor ofStrings.forceLength(String, int, char, int)
.TODO move to Rinclin favor ofMediaType.parse(CharSequence)
; to be removed in next major version.in favor ofMediaType.of(String, String, Parameter...)
; to be removed in next major version.to be removed in favor ofMediaType.toBaseType()
.to be removed in favor ofMediaType.toBaseTypeString()
.to be replaced withMediaType.matches(String, String)
.in favor ofMediaType.parse(CharSequence)
; to be removed in next major version.to be removed in favor ofURIPath.findName()
.to be removed in favor ofURIPath.findRawName()
.to be removed in favor ofURIs.changePathName(String, String)
because this ancient code doesn't have an obvious utility, is confusing, and jumbles various types, many of them legacy.to be removed in favor ofURIs.findName(URI)
.to be removed in favor ofURIs.findNameExtension(URI)
.to remove in favor ofURIs.findURIPath(URI)
to be removed in favor ofURIs.findRawName(URI)
.to be removed in favor ofURIs.findRawNameExtension(URI)
.in favor ofMessageDigests.Algorithm.newMessageDigest()
, which has a clearer and less misleading name.in favor ofRegularExpressions.characterClassOf(char...)
.in favor ofRegularExpressions.characterClassOf(Characters)
.in favor ofBytes.toHexString(byte[])
.in favor of merely appendingBytes.toHexString(byte[])
.
-
ConstructorDescriptionin favor of
MediaType.Parameter.of(String, String)
; to be made non-public in next major version.in favor of the static factory methodStringTemplate.of(Object...)
.
-
Enum ConstantDescriptionObsolete; use
ResourceRecord.Type.MX
.Obsolete; useResourceRecord.Type.MX
.
AutoCloseable
in conjunction Java's try-with-resources facility, which mitigates the problem an exception thrown insideclose()
.