Changeset 2205


Ignore:
Timestamp:
02/01/07 16:53:59 (13 years ago)
Author:
curtis
Message:

Fix compile error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/in/ImarisReader.java

    r2200 r2205  
    243243    if (!open) return true; // not allowed to check the file contents 
    244244    try { 
    245       RandomAccessStream dis = new DataInputStream(new FileInputStream(name)); 
     245      RandomAccessStream ras = new RandomAccessStream(name); 
    246246      byte[] b = new byte[4]; 
    247       dis.readFully(b); 
    248       dis.close(); 
     247      ras.readFully(b); 
     248      ras.close(); 
    249249      return isThisType(b); 
    250250    } 
Note: See TracChangeset for help on using the changeset viewer.