Fix style check error for UnsafeDetectUtil.java
This commit is contained in:
parent
6c68773ad4
commit
4396b421f1
@ -46,11 +46,12 @@ public final class UnsafeDetectUtil {
|
||||
}
|
||||
|
||||
private static boolean hasUnsafeField(final Class<?> unsafeClass) throws PrivilegedActionException {
|
||||
return AccessController.doPrivileged (new PrivilegedExceptionAction<Boolean>() {
|
||||
return AccessController.doPrivileged(new PrivilegedExceptionAction<Boolean>() {
|
||||
public Boolean run() throws Exception {
|
||||
unsafeClass.getDeclaredField(THE_UNSAFE);
|
||||
return true;
|
||||
}});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public static boolean isUnsafeFound() {
|
||||
|
Loading…
Reference in New Issue
Block a user