Ignore:
Timestamp:
03/08/12 09:21:51 (12 years ago)
Author:
sherbold
Message:
  • JFC pre-processors (commands preprocessDirJFC, preprocessJFC) now generate UTF-8 XML files instead of UTF-16.
  • de.ugoe.cs.eventbench.jfc.JFCLogParser adapted to read UTF-8 XML files instead of UTF-16.
  • parseDirJFC and parseJFC commands now both pre-compute all JFC event target equalities and furthermore compare all loaded events to a dummy event before the precomputation to make sure the events are known by de.ugoe.cs.eventbench.jfc.data.JFCTargetComparator.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/jfc/commands/CMDparseDirJFC.java

    r389 r392  
    6464                Collection<List<JFCEvent>> sequences = parser.getSequences(); 
    6565                Console.traceln("Pre-computing event target equalities."); 
     66                // compare all Events to a dummy event to make sure they are known by 
     67                // the JFCTargetComparator 
     68                JFCEvent dummyEvent = new JFCEvent("dummy"); 
     69                for (List<JFCEvent> sequence : sequences) { 
     70                        for (JFCEvent event : sequence) { 
     71                                event.equals(dummyEvent); 
     72                        } 
     73                } 
    6674                JFCTargetComparator.setMutable(false); 
    6775 
Note: See TracChangeset for help on using the changeset viewer.