Class ObjectUtils
java.lang.Object
org.apache.maven.surefire.api.util.internal.ObjectUtils
Similar to Java 7 java.util.Objects.
- Since:
- 2.20
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ObjectUtils
private ObjectUtils()
-
-
Method Details
-
useNonNull
public static <T> T useNonNull(T target, T fallback) -
systemProps
-
isSecurityManagerSupported
public static boolean isSecurityManagerSupported()- Returns:
- true if SecurityManager is supported (even if deprecated) in JDK (up to 17)
-