Permalink
Browse files

Removed overrides since java 1.5 demands they override a superclass m…

…ethod
  • Loading branch information...
1 parent eaa3ad7 commit 5050f2b452b346d04a8262af83b39e707968cea7 @brianfrankcooper brianfrankcooper committed May 25, 2010
@@ -42,7 +42,6 @@ public JSONMeasurementsExporter(OutputStream os) throws IOException
g.setPrettyPrinter(new DefaultPrettyPrinter());
}
- @Override
public void write(String metric, String measurement, int i) throws IOException
{
g.writeStartObject();
@@ -52,7 +51,6 @@ public void write(String metric, String measurement, int i) throws IOException
g.writeEndObject();
}
- @Override
public void write(String metric, String measurement, double d) throws IOException
{
g.writeStartObject();
@@ -62,7 +60,6 @@ public void write(String metric, String measurement, double d) throws IOExceptio
g.writeEndObject();
}
- @Override
public void close() throws IOException
{
if (g != null)
@@ -34,21 +34,18 @@ public TextMeasurementsExporter(OutputStream os)
this.bw = new BufferedWriter(new OutputStreamWriter(os));
}
- @Override
public void write(String metric, String measurement, int i) throws IOException
{
bw.write("[" + metric + "], " + measurement + ", " + i);
bw.newLine();
}
- @Override
public void write(String metric, String measurement, double d) throws IOException
{
bw.write("[" + metric + "], " + measurement + ", " + d);
bw.newLine();
}
- @Override
public void close() throws IOException
{
this.bw.close();

0 comments on commit 5050f2b

Please sign in to comment.