Changeset 4783


Ignore:
Timestamp:
02/05/09 18:37:07 (11 years ago)
Author:
curtis
Message:

Fix NullPointerException bug Steve Lamont found.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/src/loci/formats/out/TiffWriter.java

    r4705 r4783  
    9393  { 
    9494    MetadataRetrieve retrieve = getMetadataRetrieve(); 
    95     boolean littleEndian = retrieve == null ? false : 
    96       !retrieve.getPixelsBigEndian(series, 0).booleanValue(); 
     95    Boolean bigEndian = retrieve.getPixelsBigEndian(series, 0); 
     96    boolean littleEndian = bigEndian == null ? 
     97      false : !bigEndian.booleanValue(); 
    9798 
    9899    if (!initialized) { 
Note: See TracChangeset for help on using the changeset viewer.