shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lhazlew...@apache.org
Subject svn commit: r1365311 - /shiro/branches/1.2.x/core/src/main/java/org/apache/shiro/realm/text/PropertiesRealm.java
Date Tue, 24 Jul 2012 21:47:01 GMT
Author: lhazlewood
Date: Tue Jul 24 21:47:00 2012
New Revision: 1365311

URL: http://svn.apache.org/viewvc?rev=1365311&view=rev
Log:
SHIRO-377: fixed erroneous null check

Modified:
    shiro/branches/1.2.x/core/src/main/java/org/apache/shiro/realm/text/PropertiesRealm.java

Modified: shiro/branches/1.2.x/core/src/main/java/org/apache/shiro/realm/text/PropertiesRealm.java
URL: http://svn.apache.org/viewvc/shiro/branches/1.2.x/core/src/main/java/org/apache/shiro/realm/text/PropertiesRealm.java?rev=1365311&r1=1365310&r2=1365311&view=diff
==============================================================================
--- shiro/branches/1.2.x/core/src/main/java/org/apache/shiro/realm/text/PropertiesRealm.java
(original)
+++ shiro/branches/1.2.x/core/src/main/java/org/apache/shiro/realm/text/PropertiesRealm.java
Tue Jul 24 21:47:00 2012
@@ -163,7 +163,7 @@ public class PropertiesRealm extends Tex
         loadProperties();
         //we can only determine if files have been modified at runtime (not classpath entries
or urls), so only
         //start the thread in this case:
-        if (this.resourcePath.startsWith(ResourceUtils.FILE_PREFIX) && scheduler
!= null) {
+        if (this.resourcePath.startsWith(ResourceUtils.FILE_PREFIX) && scheduler
== null) {
             startReloadThread();
         }
     }



Mime
View raw message