- Timestamp:
- 05/13/16 13:16:05 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/training/WekaTestAwareTraining.java
r86 r99 15 15 package de.ugoe.cs.cpdp.training; 16 16 17 import java.io.PrintStream;18 17 import java.util.logging.Level; 19 20 import org.apache.commons.io.output.NullOutputStream;21 18 22 19 import de.ugoe.cs.cpdp.wekaclassifier.ITestAwareClassifier; … … 35 32 } 36 33 ((ITestAwareClassifier) classifier).setTestdata(testdata); 37 PrintStream errStr = System.err;38 System.setErr(new PrintStream(new NullOutputStream()));39 34 try { 40 35 if (classifier == null) { … … 60 55 } 61 56 } 62 finally {63 System.setErr(errStr);64 }65 57 } 66 58 }
Note: See TracChangeset
for help on using the changeset viewer.