Deprecated API
Contents
-
Deprecated ClassesClassDescriptionUse one of the Range classes in org.apache.commons.lang.math. Class will be removed in Commons Lang 3.0.Moved to org.apache.commons.lang.math. Class will be removed in Commons Lang 3.0.
-
Deprecated FieldsFieldDescriptionUse MILLIS_PER_DAY. This will be removed in Commons Lang 3.0.Use MILLIS_PER_HOUR. This will be removed in Commons Lang 3.0.Use MILLIS_PER_MINUTE. This will be removed in Commons Lang 3.0.Use MILLIS_PER_SECOND. This will be removed in Commons Lang 3.0.
-
Deprecated MethodsMethodDescriptionUse
StandardToStringStyle.isUseShortClassName()
Method will be removed in Commons Lang 3.0.UseStandardToStringStyle.setUseShortClassName(boolean)
Method will be removed in Commons Lang 3.0.UseToStringStyle.isUseShortClassName()
Method will be removed in Commons Lang 3.0.UseToStringStyle.setUseShortClassName(boolean)
Method will be removed in Commons Lang 3.0.UseCharSet.getInstance(String[])
. Method will be removed in Commons Lang 3.0.UseStringUtils.replaceChars(String, String, String)
. Method will be removed in Commons Lang 3.0. NOTE: StringUtils#replaceChars behaves differently when 'searchChars' is longer than 'replaceChars'. CharSetUtils#translate will use the last char of the replacement string whereas StringUtils#replaceChars will deleteUseNumberUtils.toInt(String)
This method will be removed in Commons Lang 3.0UseNumberUtils.toInt(String, int)
This method will be removed in Commons Lang 3.0The design of this method is bad - see LANG-360. Instead, use identityToString(StringBuffer, Object).Use the standardly namedStringUtils.capitalize(String)
. Method will be removed in Commons Lang 3.0.Use the relocatedWordUtils.capitalize(String)
. Method will be removed in Commons Lang 3.0.UseStringUtils.chomp(String)
instead. Method will be removed in Commons Lang 3.0.UseStringUtils.chomp(String,String)
instead. Method will be removed in Commons Lang 3.0.UseStringUtils.chomp(String)
instead. Method will be removed in Commons Lang 3.0.Use the clearer namedStringUtils.trimToEmpty(String)
. Method will be removed in Commons Lang 3.0.Use the better namedStringUtils.join(Object[])
instead. Method will be removed in Commons Lang 3.0.Use the better localizedStringUtils.deleteWhitespace(String)
. Method will be removed in Commons Lang 3.0.UseStringEscapeUtils.escapeJava(String)
This method will be removed in Commons Lang 3.0UseStringUtils.substringAfterLast(String, String)
instead (although this doesn't include the separator) Method will be removed in Commons Lang 3.0.Use the better namedStringUtils.substringBetween(String, String)
. Method will be removed in Commons Lang 3.0.Use the better namedStringUtils.substringBetween(String, String, String)
. Method will be removed in Commons Lang 3.0.UseStringUtils.substringBefore(String,String)
instead (although this doesn't include the separator). Method will be removed in Commons Lang 3.0.Use better namedStringUtils.overlay(String, String, int, int)
instead. Method will be removed in Commons Lang 3.0.UseStringUtils.substringAfter(String,String)
instead. Method will be removed in Commons Lang 3.0.UseStringUtils.reverseDelimited(String, char)
instead. This method is broken as the join doesn't know which char to use. Method will be removed in Commons Lang 3.0.Use the standardly namedStringUtils.uncapitalize(String)
. Method will be removed in Commons Lang 3.0.UseSystemUtils.JAVA_VERSION_FLOAT
instead. Method will be removed in Commons Lang 3.0.Will become privately scoped in 3.0
-
Deprecated Constructors