elharo commented on code in PR #2:
URL: https://github.com/apache/xerces-j/pull/2#discussion_r2539846879


##########
samples/xni/SecuritySupport.java:
##########
@@ -120,21 +108,19 @@ public Object run() {
     }
     
     static boolean getFileExists(final File f) {
-        return ((Boolean)
-                AccessController.doPrivileged(new PrivilegedAction() {
-                    public Object run() {
-                        return f.exists() ? Boolean.TRUE : Boolean.FALSE;
-                    }
-                })).booleanValue();
+        return AccessController.doPrivileged(new PrivilegedAction<Boolean>() {
+            public Boolean run() {

Review Comment:
   per docs we're supposed to be on java 1.7 as of the last release. 1.8 we 
would need to discuss before the next release



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to