Changeset 4885


Ignore:
Timestamp:
03/03/09 12:52:56 (11 years ago)
Author:
curtis
Message:

Trim Leica TCS metadata key/value pairs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/src/loci/formats/in/TCSReader.java

    r4666 r4885  
    403403          if (!token.startsWith("[")) { 
    404404            int eq = token.indexOf("="); 
    405             String key = token.substring(0, eq); 
    406             String value = token.substring(eq + 1); 
     405            String key = token.substring(0, eq).trim(); 
     406            String value = token.substring(eq + 1).trim(); 
    407407            addMeta(key, value); 
    408408          } 
Note: See TracChangeset for help on using the changeset viewer.