-
InterfaceDescriptionUse
FailableBiFunction
.UseFailableBiPredicate
.UseFailableCallable
.UseFailableConsumer
.UseFailableFunction
.UseFailablePredicate
.UseFailableRunnable
.UseFailableSupplier
.As of 3.6, use Apache Commons Text FormatFactory insteadUse aPredicate
.Use aPredicate
.
-
ClassDescriptionJava 7 introduced
StandardCharsets
, which defines these constants asCharset
objects. UseCharset.name()
to get the string values provided in this class. This class will be removed in a future release.UseFailable
.UseStreams
.As of 3.6, use Apache Commons Text StringEscapeUtils insteadAs of 3.6, use Apache Commons Text CompositeFormat insteadAs of 3.6, use Apache Commons Text ExtendedMessageFormat insteadAs of 3.6, use Apache Commons Text FormattableUtils insteadAs of 3.6, use Apache Commons Text TextStringBuilder insteadAs of 3.6, use Apache Commons Text StringLookupFactory insteadAs of 3.6, use Apache Commons Text StringMatcherFactory insteadAs of 3.6, use Apache Commons Text StringSubstitutor insteadAs of 3.6, use Apache Commons Text StringTokenizer insteadAs of 3.6, use Apache Commons Text AggregateTranslator insteadAs of 3.6, use Apache Commons Text CharSequenceTranslator insteadAs of 3.6, use Apache Commons Text CharSequenceTranslator insteadAs of 3.6, use Apache Commons Text EntityArrays insteadAs of 3.6, use Apache Commons Text UnicodeEscaper insteadAs of 3.6, use Apache Commons Text LookupTranslator insteadAs of 3.6, use Apache Commons Text NumericEntityEscaper insteadAs of 3.6, use Apache Commons Text NumericEntityUnescaper insteadAs of 3.6, use Apache Commons Text OctalUnescaper insteadAs of 3.6, use Apache Commons Text UnicodeEscaper insteadAs of 3.6, use Apache Commons Text UnicodeUnescaper insteadAs of 3.6, use Apache Commons Text UnicodeUnpairedSurrogateRemover insteadAs of 3.6, use Apache Commons Text WordUtils insteadUse aPredicate
.Use aPredicate
.
-
FieldDescriptionuse
StringEscapeUtils.ESCAPE_XML10
orStringEscapeUtils.ESCAPE_XML11
instead.UseFile.separator
, since it is guaranteed to be a string containing a single character and it does not require a privilege check.As of release 3.5, replaced bySystemUtils.IS_JAVA_9
UseSystem.lineSeparator()
instead, since it does not require a privilege check.UseFile.pathSeparator
, since it is guaranteed to be a string containing a single character and it does not require a privilege check.Use aPredicate
.- as of 4.0, ISO_DATE_FORMAT will be replaced by ISO_8601_EXTENDED_DATE_FORMAT.- as of 4.0, ISO_DATE_TIME_ZONE_FORMAT will be removed.- as of 4.0, ISO_DATETIME_FORMAT will be replaced by ISO_8601_EXTENDED_DATETIME_FORMAT.- as of 4.0, ISO_DATETIME_TIME_ZONE_FORMAT will be replaced by ISO_8601_EXTENDED_DATETIME_TIME_ZONE_FORMAT.- as of 4.0, ISO_TIME_FORMAT will be removed.- as of 4.0, ISO_TIME_NO_T_FORMAT will be replaced by ISO_8601_EXTENDED_TIME_FORMAT.- as of 4.0, ISO_TIME_NO_T_TIME_ZONE_FORMAT will be replaced by ISO_8601_EXTENDED_TIME_TIME_ZONE_FORMAT.- as of 4.0, ISO_TIME_TIME_ZONE_FORMAT will be removed.
-
MethodDescriptionthis method has been superseded by
ArrayUtils.insert(int, boolean[], boolean...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.this method has been superseded byArrayUtils.insert(int, byte[], byte...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.this method has been superseded byArrayUtils.insert(int, char[], char...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.this method has been superseded byArrayUtils.insert(int, double[], double...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.this method has been superseded byArrayUtils.insert(int, float[], float...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.this method has been superseded byArrayUtils.insert(int, int[], int...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.this method has been superseded byArrayUtils.insert(int, long[], long...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.this method has been superseded byArrayUtils.insert(int, short[], short...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.this method has been superseded byinsert(int, T[], T...)
and may be removed in a future release. Please note the handling ofnull
input arrays differs in the new method: insertingX
into anull
array results innull
notX
.this method has been replaced byjava.util.Objects.deepEquals(Object, Object)
and will be removed from future releases.Unused, will be removed in 4.0.0.Please useCharset.isSupported(String)
instead, although be aware thatnull
values are not accepted by that method and anIllegalCharsetNameException
may be thrown.This feature will be removed in Lang 4, useThrowable.getCause()
insteadThis feature will be removed in Lang 4, useThrowable.getCause()
insteadThis feature will be removed in Lang 4This feature will be removed in Lang 4, useNumberUtils.isCreatable(String)
insteadthis method has been replaced byjava.util.Objects.equals(Object, Object)
in Java 7 and will be removed from future releases.this method has been replaced byjava.util.Objects.hashCode(Object)
in Java 7 and will be removed in future releasesthis method has been replaced byjava.util.Objects.hash(Object...)
in Java 7 and will be removed in future releases.as of 3.6, because StrBuilder was moved to commons-text, use one of the otheridentityToString
methods insteadthis method has been replaced byjava.util.Objects.toString(Object)
in Java 7 and will be removed in future releases. Note however that said method will return "null" for null references, while this method returns an empty String. To preserve behavior usejava.util.Objects.toString(myObject, "")
this method has been replaced byjava.util.Objects.toString(Object, String)
in Java 7 and will be removed in future releases.As of Java 12, we can no longer drop thefinal
modifier, thus rendering this method obsolete. The JDK discussion about this change can be found here: https://mail.openjdk.java.net/pipermail/core-libs-dev/2018-November/056486.htmlThis feature will be removed in Lang 4, useStringUtils.removeEnd(String, String)
insteadAs of 3.6, use Apache Commons Text FuzzyScore insteadAs of 3.6, use Apache Commons Text JaroWinklerDistance insteadAs of 3.6, use Apache Commons Text LevenshteinDistance insteadAs of 3.6, use Apache Commons Text LevenshteinDistance insteadMoved to RegExUtils.Moved to RegExUtils.Moved to RegExUtils.Moved to RegExUtils.Moved to RegExUtils.Moved to RegExUtils.useStringUtils.toEncodedString(byte[], Charset)
instead of String constants in your codeuseFastDatePrinter.format(Calendar)
orFastDatePrinter.format(Calendar, Appendable)
Use {FastDatePrinter.format(Date)
, {FastDatePrinter.format(Calendar)
, {FastDatePrinter.format(long)
.
-
ConstructorDescriptionTODO Make private in 4.0.TODO Make private in 4.0.Will be removed in 4.0.0.TODO Make private in 4.0.TODO Make private in 4.0.Use
DiffBuilder.Builder
.UseDiffBuilder.Builder
.Will be removed in 4.0.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.Will be private in 4.0.0.TODO Make private in 4.0.Will be removed in 4.0.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.Will be removed in 4.0.0.TODO Make private in 4.0.TODO Make private in 4.0.Will be private in 4.0.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.Will be removed in 4.0.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.TODO Make private in 4.0.
FailableBiConsumer
.