jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1421811 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authentication/AuthenticationConfigurationImpl.java
Date Fri, 14 Dec 2012 12:23:05 GMT
Author: angela
Date: Fri Dec 14 12:23:04 2012
New Revision: 1421811

URL: http://svn.apache.org/viewvc?rev=1421811&view=rev
Log:
OAK-497 : add fixme for java7 workaround that really looks wrong.

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authentication/AuthenticationConfigurationImpl.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authentication/AuthenticationConfigurationImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authentication/AuthenticationConfigurationImpl.java?rev=1421811&r1=1421810&r2=1421811&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authentication/AuthenticationConfigurationImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authentication/AuthenticationConfigurationImpl.java
Fri Dec 14 12:23:04 2012
@@ -60,9 +60,9 @@ public class AuthenticationConfiguration
         Configuration loginConfig = null;
         try {
             loginConfig = Configuration.getConfiguration();
+            // FIXME: workaround for Java7 behavior. needs clean up (see OAK-497)
             if (loginConfig.getAppConfigurationEntry(appName) == null) {
-                log.warn("No login configuration available for " + appName
-                        + ": using default.");
+                log.warn("No login configuration available for " + appName + ": using default.");
                 loginConfig = null;
             }
         } catch (SecurityException e) {



Mime
View raw message