Changeset 2599


Ignore:
Timestamp:
04/11/07 15:18:35 (13 years ago)
Author:
curtis
Message:

Eliminate deprecation warnings (how did I miss these before...).

File:
1 edited

Legend:

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

    r2595 r2599  
    8080  /* @see loci.formats.IFormatReader#openBytes(int) */  
    8181  public byte[] openBytes(int no) throws FormatException, IOException { 
    82     byte[] b = ImageTools.getBytes(openImage(currentId, no), false, no); 
     82    byte[] b = ImageTools.getBytes(openImage(no), false, no); 
    8383    return b; 
    8484  } 
     
    8888    throws FormatException, IOException 
    8989  { 
    90     if (no < 0 || no >= getImageCount(currentId)) { 
     90    if (no < 0 || no >= getImageCount()) { 
    9191      throw new FormatException("Invalid image number: " + no); 
    9292    } 
Note: See TracChangeset for help on using the changeset viewer.