Skip to content

Commit

Permalink
Add newline to end of output when writing out file
Browse files Browse the repository at this point in the history
  • Loading branch information
kwestbrooks committed Jun 10, 2014
1 parent 16b57fe commit 9d89e6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public FastaIndex write(Writer writer) throws IOException {
@SuppressWarnings("resource") PrintWriter out = writer instanceof PrintWriter
? (PrintWriter) writer
: new PrintWriter(writer);
out.print(this);
out.println(this);
if (out.checkError()) {
throw new IOException();
}
Expand Down

0 comments on commit 9d89e6c

Please sign in to comment.