Changeset 663

Show
Ignore:
Timestamp:
09/09/08 07:36:58 (4 months ago)
Author:
adam.paynter
Message:

working on FSDirectoryBean

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lucene-ws/branches/lucenews-2.0/src/net/lucenews3/FSDirectoryBean.java

    r662 r663  
    1818                if (file == null) { 
    1919                        if (path == null) { 
    20                                  
     20                                if (lockFactory == null) { 
     21                                         
     22                                } else { 
     23                                         
     24                                } 
    2125                        } else { 
    22                                  
     26                                if (lockFactory == null) { 
     27                                        return FSDirectory.getDirectory(path); 
     28                                } else { 
     29                                        return FSDirectory.getDirectory(path, lockFactory); 
     30                                } 
    2331                        } 
    2432                } else { 
    2533                        if (path == null) { 
    26                                  
     34                                if (lockFactory == null) { 
     35                                        return FSDirectory.getDirectory(file); 
     36                                } else { 
     37                                        return FSDirectory.getDirectory(file, lockFactory); 
     38                                } 
    2739                        } else { 
    28                                  
     40                                if (lockFactory == null) { 
     41                                         
     42                                } else { 
     43                                         
     44                                } 
    2945                        } 
    3046                }