Commits

Anonymous committed e08f258

WW-2956 Prevent NPE on some weird cases (tomcat installed on a dir with spaces)

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1909e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (1)

src/java/com/opensymphony/xwork2/util/FileManager.java

         }
 
         public boolean needsReloading() {
-            return (this.lastModified < this.file.lastModified());
+            return (this.file != null) && (this.lastModified < this.file.lastModified());
         }
 
     }