[LANG-1405] Remove checks for java versions below the minimum supported
one. Closes #338.
This commit is contained in:
parent
2cc5243808
commit
a36c903d4f
|
@ -68,7 +68,8 @@ The <action> type attribute can be add,update,fix,remove.
|
|||
<action issue="LANG-1394" type="add" dev="ggregory" due-to="Sebb, Gary Gregory">org.apache.commons.lang3.SystemUtils should not write to System.err.</action>
|
||||
<action issue="LANG-1238" type="add" dev="ggregory" due-to="Christopher Cordeiro, Gary Gregory, Bruno P. Kinoshita, Oleg Chubaryov">Add RegexUtils class instead of overloading methods in StringUtils that take a regex to take precompiled Pattern.</action>
|
||||
<action issue="LANG-1290" type="add" dev="ggregory" due-to="Jochen Schalanda">StringUtils.join() with support for List<?> with configurable start/end indices.</action>
|
||||
<action issue="LANG-1392" type="add" dev="pschumacher" due-to="Jeff Nelson">Methods for getting first non empty or non blank value</action>
|
||||
<action issue="LANG-1392" type="add" dev="pschumacher" due-to="Jeff Nelson">Methods for getting first non empty or non blank value</action>
|
||||
<action issue="LANG-1405" type="update" dev="ggregory" due-to="Lars Grefer">Remove checks for java versions below the minimum supported one</action>
|
||||
</release>
|
||||
|
||||
<release version="3.7" date="2017-11-04" description="New features and bug fixes. Requires Java 7, supports Java 8, 9, 10.">
|
||||
|
|
|
@ -641,7 +641,7 @@ public class ClassUtils {
|
|||
* @return {@code true} if assignment possible
|
||||
*/
|
||||
public static boolean isAssignable(final Class<?>[] classArray, final Class<?>... toClassArray) {
|
||||
return isAssignable(classArray, toClassArray, SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_1_5));
|
||||
return isAssignable(classArray, toClassArray, true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -757,7 +757,7 @@ public class ClassUtils {
|
|||
* @return {@code true} if assignment possible
|
||||
*/
|
||||
public static boolean isAssignable(final Class<?> cls, final Class<?> toClass) {
|
||||
return isAssignable(cls, toClass, SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_1_5));
|
||||
return isAssignable(cls, toClass, true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue