tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1607755 - /tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/util/JuliLogStreamFactory.java
Date Thu, 03 Jul 2014 22:14:31 GMT
Author: rmannibucau
Date: Thu Jul  3 22:14:31 2014
New Revision: 1607755

URL: http://svn.apache.org/r1607755
Log:
pmd

Modified:
    tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/util/JuliLogStreamFactory.java

Modified: tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/util/JuliLogStreamFactory.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/util/JuliLogStreamFactory.java?rev=1607755&r1=1607754&r2=1607755&view=diff
==============================================================================
--- tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/util/JuliLogStreamFactory.java
(original)
+++ tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/util/JuliLogStreamFactory.java
Thu Jul  3 22:14:31 2014
@@ -72,7 +72,7 @@ public class JuliLogStreamFactory implem
                     final Field logManager = LogManager.class.getDeclaredField("manager");
                     final int logManagerModifiers = logManager.getModifiers();
                     if (Modifier.isFinal(logManagerModifiers)) {
-                        Field modifiersField = Field.class.getDeclaredField("modifiers");
+                        final Field modifiersField = Field.class.getDeclaredField("modifiers");
                         modifiersField.setAccessible(true);
                         modifiersField.setInt(logManager, logManagerModifiers & ~Modifier.FINAL);
                     }



Mime
View raw message