commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1028502 - /commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/DigesterLoader.java
Date Thu, 28 Oct 2010 21:35:40 GMT
Author: simonetripodi
Date: Thu Oct 28 21:35:40 2010
New Revision: 1028502

URL: http://svn.apache.org/viewvc?rev=1028502&view=rev
Log:
removed useless else statement

Modified:
    commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/DigesterLoader.java

Modified: commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/DigesterLoader.java
URL: http://svn.apache.org/viewvc/commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/DigesterLoader.java?rev=1028502&r1=1028501&r2=1028502&view=diff
==============================================================================
--- commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/DigesterLoader.java
(original)
+++ commons/proper/digester/trunk/src/main/java/org/apache/commons/digester/annotations/DigesterLoader.java
Thu Oct 28 21:35:40 2010
@@ -231,9 +231,8 @@ public final class DigesterLoader {
     private static <T> T run(PrivilegedAction<T> action) {
         if (System.getSecurityManager() != null) {
             return AccessController.doPrivileged(action);
-        } else {
-            return action.run();
         }
+        return action.run();
     }
 
 }



Mime
View raw message