Skip to content
This repository has been archived by the owner on May 8, 2018. It is now read-only.

Commit

Permalink
More removing of IOException.
Browse files Browse the repository at this point in the history
  • Loading branch information
codahale committed Apr 26, 2009
1 parent 4ac2984 commit afaed97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Expand Up @@ -2,8 +2,6 @@

import static org.junit.Assert.*;

import java.io.IOException;

import org.junit.Test;
import org.junit.experimental.runners.Enclosed;
import org.junit.runner.RunWith;
Expand All @@ -16,7 +14,7 @@

@RunWith(Enclosed.class)
public class JsonDocumentFormatterTest {
private static String format(XmlsonDocument document) throws IOException {
private static String format(XmlsonDocument document) {
XmlsonDocumentFormatter formatter = new JsonDocumentFormatter();
return formatter.format(document);
}
Expand Down
Expand Up @@ -2,8 +2,6 @@

import static org.junit.Assert.*;

import java.io.IOException;

import org.junit.Test;
import org.junit.experimental.runners.Enclosed;
import org.junit.runner.RunWith;
Expand All @@ -16,7 +14,7 @@

@RunWith(Enclosed.class)
public class XmlDocumentFormatterTest {
private static String format(XmlsonDocument document) throws IOException {
private static String format(XmlsonDocument document) {
XmlsonDocumentFormatter formatter = new XmlDocumentFormatter();
return formatter.format(document);
}
Expand Down

0 comments on commit afaed97

Please sign in to comment.