Skip to content

Commit

Permalink
FORGE-1640: Adding space after each concatenated line
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Jul 9, 2014
1 parent 2dcb563 commit 2a0f311
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public void run()
{
try
{
String line = doReadLine(reader);
String line = readLine(reader);
if (skipsLine(line))
{
// Skip Comments
Expand Down Expand Up @@ -231,7 +231,7 @@ public void run()
return result;
}

private String doReadLine(BufferedReader reader) throws IOException
private String readLine(BufferedReader reader) throws IOException
{
StringBuilder result = new StringBuilder();
String line;
Expand All @@ -241,7 +241,7 @@ private String doReadLine(BufferedReader reader) throws IOException
if (line.endsWith("\\"))
{
// Read next line
result.append(" ").append(line.substring(0, line.lastIndexOf("\\")));
result.append(line.substring(0, line.lastIndexOf("\\"))).append(' ');
}
else
{
Expand Down

0 comments on commit 2a0f311

Please sign in to comment.