- Revision
- 1457
- Author
- mauro
- Date
- 2009-12-22 17:34:27 -0600 (Tue, 22 Dec 2009)
Log Message
JDK1.5 compatibility.
Modified Paths
- trunk/core/jbehave-core/src/main/java/org/jbehave/scenario/reporters/StatisticsScenarioReporter.java
Diff
Modified: trunk/core/jbehave-core/src/main/java/org/jbehave/scenario/reporters/StatisticsScenarioReporter.java (1456 => 1457)
--- trunk/core/jbehave-core/src/main/java/org/jbehave/scenario/reporters/StatisticsScenarioReporter.java 2009-12-22 21:11:53 UTC (rev 1456) +++ trunk/core/jbehave-core/src/main/java/org/jbehave/scenario/reporters/StatisticsScenarioReporter.java 2009-12-22 23:34:27 UTC (rev 1457) @@ -4,8 +4,6 @@ import java.io.IOException; import java.io.OutputStream; -import java.io.OutputStreamWriter; -import java.io.Writer; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -119,9 +117,7 @@ p.setProperty(event, data.get(event).toString()); } try { - Writer writer = new OutputStreamWriter(output); - p.store(writer, this.getClass().getName()); - writer.close(); + p.store(output, this.getClass().getName()); } catch (IOException e) { throw new RuntimeException(e); }
To unsubscribe from this list please visit:
