- 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/WekaLocalFQTraining.java
r86 r99 15 15 package de.ugoe.cs.cpdp.training; 16 16 17 import java.io.PrintStream;18 17 import java.util.ArrayList; 19 18 import java.util.HashMap; … … 23 22 import java.util.Set; 24 23 import java.util.logging.Level; 25 26 import org.apache.commons.io.output.NullOutputStream;27 24 28 25 import de.ugoe.cs.cpdp.training.QuadTree; … … 66 63 @Override 67 64 public void apply(Instances traindata) { 68 PrintStream errStr = System.err;69 System.setErr(new PrintStream(new NullOutputStream()));70 65 try { 71 66 classifier.buildClassifier(traindata); … … 73 68 catch (Exception e) { 74 69 throw new RuntimeException(e); 75 }76 finally {77 System.setErr(errStr);78 70 } 79 71 }
Note: See TracChangeset
for help on using the changeset viewer.