Changeset 2574


Ignore:
Timestamp:
04/06/07 14:50:05 (13 years ago)
Author:
curtis
Message:

Eliminate deprecation warnings related to save vs saveImage.

Location:
trunk/loci/formats
Files:
4 edited

Legend:

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

    r2569 r2574  
    7272    throws FormatException, IOException; 
    7373 
    74   /* @see IFormatWriter#save(String, Image, boolean) */  
     74  /** @deprecated Replaced by {@link #saveImage(String, Image, boolean)} */ 
    7575  public void save(String id, Image image, boolean last) 
    7676    throws FormatException, IOException 
  • trunk/loci/formats/ImageWriter.java

    r2569 r2574  
    162162  } 
    163163 
    164   /* @see IFormatWriter#save(String, Image, boolean) */ 
     164  /** @deprecated Replaced by {@link #saveImage(String, Image, boolean)} */ 
    165165  public void save(String id, Image image, boolean last) 
    166166    throws FormatException, IOException 
  • trunk/loci/formats/out/JPEGWriter.java

    r2569 r2574  
    5252      throw new FormatException("16-bit data not supported."); 
    5353    } 
    54     super.save(id, image, last); 
     54    super.saveImage(id, image, last); 
    5555  } 
    5656 
  • trunk/loci/formats/out/QTWriter.java

    r2569 r2574  
    150150  // -- IFormatWriter API methods -- 
    151151 
    152   /* @see loci.formats.IFormatWriter#save(String, Image, boolean) */  
     152  /* @see loci.formats.IFormatWriter#saveImage(String, Image, boolean) */  
    153153  public void saveImage(String id, Image image, boolean last) 
    154154    throws FormatException, IOException 
     
    163163 
    164164    if (needLegacy) { 
    165       legacy.save(id, image, last); 
     165      legacy.saveImage(id, image, last); 
    166166      return; 
    167167    } 
     
    222222        needLegacy = true; 
    223223        legacy.setCodec(codec); 
    224         legacy.save(id, image, last); 
     224        legacy.saveImage(id, image, last); 
    225225        return; 
    226226      } 
Note: See TracChangeset for help on using the changeset viewer.