Ignore:
Timestamp:
05/13/16 13:16:05 (9 years ago)
Author:
sherbold
Message:
  • improved error reporting
File:
1 edited

Legend:

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

    r86 r99  
    1515package de.ugoe.cs.cpdp.training; 
    1616 
    17 import java.io.PrintStream; 
    1817import java.util.logging.Level; 
    19  
    20 import org.apache.commons.io.output.NullOutputStream; 
    2118 
    2219import de.ugoe.cs.cpdp.wekaclassifier.ITestAwareClassifier; 
     
    3532        } 
    3633        ((ITestAwareClassifier) classifier).setTestdata(testdata); 
    37         PrintStream errStr = System.err; 
    38         System.setErr(new PrintStream(new NullOutputStream())); 
    3934        try { 
    4035            if (classifier == null) { 
     
    6055            } 
    6156        } 
    62         finally { 
    63             System.setErr(errStr); 
    64         } 
    6557    } 
    6658} 
Note: See TracChangeset for help on using the changeset viewer.