Changeset 3978


Ignore:
Timestamp:
04/24/08 14:30:57 (12 years ago)
Author:
curtis
Message:

Tweak some autogenerator output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/auto/MetadataAutogen.java

    r3977 r3978  
    135135    Vector<String> lastIndices = new Vector<String>(); 
    136136 
     137    int maxLen = 0; 
     138    for (String entity : entities) { 
     139      int len = entity.length(); 
     140      if (len > maxLen) maxLen = len; 
     141    } 
     142 
    137143    for (String entity : entities) { 
    138144      q.setEntity(entity); 
    139       System.out.println("\t" + q.path()); 
     145      System.out.print("\t"); 
     146      System.out.print(entity); 
     147      for (int i=entity.length(); i<maxLen; i++) System.out.print(" "); 
     148      System.out.println(" | " + q.path()); 
    140149 
    141150      Vector<String> indices = q.indices(); 
Note: See TracChangeset for help on using the changeset viewer.