Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Jan 25, 2012
1 parent a844665 commit ac0cc51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions java/src/main/java/gherkin/formatter/JSONFormatter.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public JSONFormatter(Appendable out) {
@Override
public void done() {
out.append(JSONValue.toJSONString(featureMaps));
out.close();
}

@Override
Expand Down
1 change: 1 addition & 0 deletions java/src/main/java/gherkin/formatter/PrettyFormatter.java
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ public void syntaxError(String state, String event, List<String> legalEvents, St

@Override
public void done() {
out.close();
}

private String escapeCell(String cell) {
Expand Down

0 comments on commit ac0cc51

Please sign in to comment.