Changeset 2081


Ignore:
Timestamp:
01/12/07 14:17:03 (13 years ago)
Author:
curtis
Message:

Whitespace.

Location:
trunk/loci/formats
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/FileWrapper.java

    r2079 r2081  
    2929import java.util.Vector; 
    3030 
    31 /**  
     31/** 
    3232 * Extension of java.io.File that supports reading over HTTP. 
    3333 * Note that it is not a good idea to construct a FileInputStream using a 
    34  * FileWrapper, unless you are certain that the filename points to a file  
     34 * FileWrapper, unless you are certain that the filename points to a file 
    3535 * on disk. 
    3636 */ 
     
    3838 
    3939  // -- Fields -- 
    40    
     40 
    4141  private boolean isURL = true; 
    4242  private String path; 
     
    7272 
    7373  // -- File API methods -- 
    74    
     74 
    7575  /* @see java.io.File#canRead() */ 
    7676  public boolean canRead() { 
     
    121121        return true; 
    122122      } 
    123       catch (IOException e) {  
     123      catch (IOException e) { 
    124124        /* debug */ e.printStackTrace(); 
    125         return false;  
     125        return false; 
    126126      } 
    127127    } 
     
    249249        return (String[]) files.toArray(new String[0]); 
    250250      } 
    251       catch (IOException e) {  
    252         return null;  
     251      catch (IOException e) { 
     252        return null; 
    253253      } 
    254254    } 
  • trunk/loci/formats/FormatReader.java

    r2078 r2081  
    376376 
    377377  /* @see IFormatReader#getCurrentFile() */ 
    378   public String getCurrentFile() {  
    379     return currentId;  
     378  public String getCurrentFile() { 
     379    return currentId; 
    380380  } 
    381381 
     
    603603    if (stitch) { 
    604604      reader = new FileStitcher(reader, true); 
    605       String pat =  
     605      String pat = 
    606606        FilePattern.findPattern(new FileWrapper(map == null ? id : map)); 
    607607      if (pat != null) id = pat; 
  • trunk/loci/formats/RAUrl.java

    r2078 r2081  
    141141      catch (IOException e) { } 
    142142    } 
    143    
     143 
    144144    close(); 
    145145    conn = (HttpURLConnection) (new URL(url)).openConnection(); 
  • trunk/loci/formats/RandomAccessStream.java

    r2078 r2081  
    345345 
    346346  public int available() throws IOException { 
    347     return dis != null ? dis.available() + ext :  
     347    return dis != null ? dis.available() + ext : 
    348348      (int) (length() - getFilePointer()); 
    349349  } 
Note: See TracChangeset for help on using the changeset viewer.