Changeset 3112


Ignore:
Timestamp:
08/28/07 08:31:42 (12 years ago)
Author:
curtis
Message:

Remove unnecessary createRoot calls.

Location:
trunk/loci
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/ome/editor/MetadataPane.java

    r3110 r3112  
    763763        reader = new ImageReader(); 
    764764        ms = new OMEXMLMetadata(); 
    765         ms.createRoot(); 
    766765 
    767766        // tell reader to write metadata as it's being 
  • trunk/loci/plugins/LociUploader.java

    r3110 r3112  
    116116      ImageStack is = imp.getImageStack(); 
    117117      FileInfo fi = imp.getOriginalFileInfo(); 
    118       OMEXMLMetadata store = new OMEXMLMetadata(); 
     118      OMEXMLMetadata store; 
    119119 
    120120      // if we opened this stack with the Bio-Formats importer, then the 
     
    123123        fi.description.endsWith("</OME>")) 
    124124      { 
    125         store.createRoot(fi.description); 
     125        store = new OMEXMLMetadata(fi.description); 
    126126      } 
    127127      else { 
    128         store.createRoot(); 
     128        store = new OMEXMLMetadata(); 
    129129        int pixelType = FormatTools.UINT8; 
    130130        switch (imp.getBitDepth()) { 
  • trunk/loci/plugins/browser/ImagePlusWrapper.java

    r3110 r3112  
    5252    synchronized (r) { 
    5353      try { 
    54         store.createRoot(); 
    5554        r.setMetadataStore(store); 
    5655      } 
Note: See TracChangeset for help on using the changeset viewer.