Changeset 3576


Ignore:
Timestamp:
Jul 19, 2007, 3:48:02 PM (14 years ago)
Author:
Martin Svensson
Message:

References #451 Avoid null pointer exception

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plugins/core/net/sf/basedb/plugins/PackedFileExporter.java

    r3571 r3576  
    490490    boolean isInDirectory = false;
    491491    String fileDir = filePath.substring(0, filePath.lastIndexOf("/"));
    492     if ( (directories.size() > 0) && (fileDir.length() > 0) && (directories != null))
     492    if ( (directories != null) && (directories.size() > 0) && (fileDir.length() > 0))
    493493    {           
    494494      for (String dir : directories)
Note: See TracChangeset for help on using the changeset viewer.