Changeset 3906


Ignore:
Timestamp:
04/09/08 14:21:03 (12 years ago)
Author:
curtis
Message:

Fix jikes warnings.

Location:
trunk/loci/formats/in
Files:
4 edited

Legend:

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

    r3904 r3906  
    2626 
    2727import java.io.IOException; 
    28 import java.nio.ByteBuffer; 
    29 import java.nio.ShortBuffer; 
    3028import java.text.*; 
    3129import java.util.*; 
  • trunk/loci/formats/in/GelReader.java

    r3886 r3906  
    118118    super.initMetadata(); 
    119119 
    120     long format = TiffTools.getIFDLongValue(ifds[0], MD_FILETAG, true, LINEAR); 
    121     if (format == SQUARE_ROOT) core.pixelType[0] = FormatTools.FLOAT; 
    122     addMeta("Data format", format == SQUARE_ROOT ? "square root" : "linear"); 
     120    long fmt = TiffTools.getIFDLongValue(ifds[0], MD_FILETAG, true, LINEAR); 
     121    if (fmt == SQUARE_ROOT) core.pixelType[0] = FormatTools.FLOAT; 
     122    addMeta("Data format", fmt == SQUARE_ROOT ? "square root" : "linear"); 
    123123 
    124124    TiffRational scale = 
     
    154154      SimpleDateFormat parse = new SimpleDateFormat("yyyy:MM:dd HH:mm:ss"); 
    155155      Date date = parse.parse(prepTime, new ParsePosition(0)); 
    156       SimpleDateFormat fmt = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); 
    157       store.setImageCreationDate(fmt.format(date), 0); 
     156      SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); 
     157      store.setImageCreationDate(sdf.format(date), 0); 
    158158    } 
    159159    else { 
  • trunk/loci/formats/in/PrairieReader.java

    r3854 r3906  
    330330      status("Finding XML file"); 
    331331 
    332       Location f = new Location(id); 
    333       f = f.getAbsoluteFile(); 
    334       Location parent = f.getParentFile(); 
     332      Location file = new Location(id); 
     333      file = file.getAbsoluteFile(); 
     334      Location parent = file.getParentFile(); 
    335335      String[] listing = parent.list(); 
    336336      for (int i=0; i<listing.length; i++) { 
  • trunk/loci/formats/in/ZeissLSMReader.java

    r3904 r3906  
    2525package loci.formats.in; 
    2626 
    27 import java.awt.image.BufferedImage; 
    2827import java.io.*; 
    2928import java.util.*; 
Note: See TracChangeset for help on using the changeset viewer.