Changeset 3296 for trunk/utils


Ignore:
Timestamp:
10/17/07 15:10:45 (13 years ago)
Author:
curtis
Message:

Print a message if no TIFF comment is found, rather than throwing an exception.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils/TiffComment.java

    r3260 r3296  
    1515    for (int i=0; i<args.length; i++) { 
    1616      String comment = TiffTools.getComment(args[i]); 
    17       if (comment != null) System.out.println(comment); 
     17      System.out.println(comment == null ? 
     18        args[i] + ": no TIFF comment found." : comment); 
    1819    } 
    1920  } 
Note: See TracChangeset for help on using the changeset viewer.