Changeset 2445


Ignore:
Timestamp:
03/14/07 11:33:40 (13 years ago)
Author:
curtis
Message:

Whitespace.

Location:
trunk/loci/formats
Files:
4 edited

Legend:

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

    r2430 r2445  
    184184  { 
    185185    BufferedImage b = ImageTools.makeImage(openBytes(id, no), sizeX[series], 
    186       sizeY[series], isRGB(id) ? sizeC[series] : 1, false, bpp / 8,  
     186      sizeY[series], isRGB(id) ? sizeC[series] : 1, false, bpp / 8, 
    187187      littleEndian, validBits[series]); 
    188188    updateMinMax(b, no); 
     
    323323        int idx = token.indexOf("Identifier") + 12; 
    324324        key = token.substring(idx, token.indexOf("\"", idx + 1)); 
    325         idx = token.indexOf("Variant") + 9;   
    326         value = token.substring(idx, token.indexOf("\"", idx + 1));  
    327         if (key.indexOf("=") == -1) addMeta(prefix + " - " + key, value);  
     325        idx = token.indexOf("Variant") + 9; 
     326        value = token.substring(idx, token.indexOf("\"", idx + 1)); 
     327        if (key.indexOf("=") == -1) addMeta(prefix + " - " + key, value); 
    328328      } 
    329329      token = tmpToken; 
     
    577577        store.setLogicalChannel(j, null, null, null, null, null, null, ii); 
    578578      } 
    579     
    580       String zoom =  
     579 
     580      String zoom = 
    581581        (String) getMeta((String) seriesNames.get(i) + " - dblZoom"); 
    582582      store.setDisplayOptions(zoom == null ? null : new Float(zoom), 
    583         new Boolean(sizeC[i] > 1), new Boolean(sizeC[i] > 1),  
    584         new Boolean(sizeC[i] > 2), new Boolean(isRGB(currentId)), null, null,  
     583        new Boolean(sizeC[i] > 1), new Boolean(sizeC[i] > 1), 
     584        new Boolean(sizeC[i] > 2), new Boolean(isRGB(currentId)), null, null, 
    585585        null, null, null, ii, null, null, null, null, null); 
    586586 
  • trunk/loci/formats/in/LeicaReader.java

    r2437 r2445  
    138138 
    139139  /* @see IFormatReader#isMinMaxPopulated(String) */ 
    140   public boolean isMinMaxPopulated(String id)  
     140  public boolean isMinMaxPopulated(String id) 
    141141    throws FormatException, IOException 
    142142  { 
     
    11511151      for (int j=0; j<sizeC[0]; j++) { 
    11521152        store.setLogicalChannel(j, null, null, null, null, null, null, ii); 
    1153         try {  
     1153        try { 
    11541154          store.setChannelGlobalMinMax(j, getChannelGlobalMinimum(currentId, j), 
    11551155            getChannelGlobalMaximum(currentId, j), ii); 
  • trunk/loci/formats/ome/OMEXMLMetadataStore.java

    r2430 r2445  
    403403    DimensionsNode dimensions = 
    404404      (DimensionsNode) getChild(ca, "Dimensions", 0); 
    405      
    406     if (pixelSizeX == null && pixelSizeY != null) pixelSizeX = pixelSizeY;  
    407     if (pixelSizeY == null && pixelSizeX != null) pixelSizeY = pixelSizeX;  
    408      
     405 
     406    if (pixelSizeX == null && pixelSizeY != null) pixelSizeX = pixelSizeY; 
     407    if (pixelSizeY == null && pixelSizeX != null) pixelSizeY = pixelSizeX; 
     408 
    409409    dimensions.setPixelSizeX(pixelSizeX); 
    410410    dimensions.setPixelSizeY(pixelSizeY); 
  • trunk/loci/formats/reader-guide.txt

    r2368 r2445  
    181181 
    182182- If you wish to convert a file's metadata to OME-XML (strongly encouraged), 
    183   loci.formats.ome.OMEXMLMetadataStore provides methods for creating OME-XML from 
    184   metadata values.  Note that OMEXMLMetadataStore is a subclass of 
     183  loci.formats.ome.OMEXMLMetadataStore provides methods for creating OME-XML 
     184  from metadata values.  Note that OMEXMLMetadataStore is a subclass of 
    185185  loci.formats.MetadataStore (every subclass of FormatReader keeps an instance 
    186186  of MetadataStore by default); so to add OME-XML support is as simple as 
Note: See TracChangeset for help on using the changeset viewer.