1. opensymphony
  2. xwork

Commits

musachy  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

  • Participants
  • Parent commits 96bc7a0
  • Branches master

Comments (0)

Files changed (1)

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

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