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/WekaTraining.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.util.console.Console; 
     
    5249            throw new RuntimeException("classifier of WekaTraining is null"); 
    5350        } 
    54         PrintStream errStr = System.err; 
    55         System.setErr(new PrintStream(new NullOutputStream())); 
    5651        try { 
    5752            if (classifier == null) { 
     
    7772            } 
    7873        } 
    79         finally { 
    80             System.setErr(errStr); 
    81         } 
    8274    } 
    8375} 
Note: See TracChangeset for help on using the changeset viewer.