Ignore:
Timestamp:
05/04/16 11:55:23 (8 years ago)
Author:
sherbold
Message:
  • fixed some minor problems found by FindBugs?
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrossPare/src/de/ugoe/cs/cpdp/training/WekaTraining.java

    r42 r74  
    4848    public void apply(Instances traindata) { 
    4949        classifier = setupClassifier(); 
     50        if( classifier==null ) { 
     51            Console.printerr("classifier of WekaTraining is null"); 
     52            throw new RuntimeException("classifier of WekaTraining is null"); 
     53        } 
    5054        PrintStream errStr = System.err; 
    5155        System.setErr(new PrintStream(new NullOutputStream())); 
Note: See TracChangeset for help on using the changeset viewer.