0

Async mod #1

Merged
Pepich merged 4 commits from AsyncMod into master 2017-05-09 12:15:10 +00:00
Showing only changes of commit 49e7a1b28d - Show all commits

View File

@ -144,7 +144,7 @@ public class CommandManager {
try { try {
BufferedReader reader = new BufferedReader(new FileReader(sourceFile)); BufferedReader reader = new BufferedReader(new FileReader(sourceFile));
while ((buf = reader.readLine()) != null) { while ((buf = reader.readLine()) != null) {
src.append(buf); src.append(buf + '\n');
} }
reader.close(); reader.close();
} catch (Exception e) { } catch (Exception e) {
@ -170,7 +170,7 @@ public class CommandManager {
try { try {
BufferedReader reader = new BufferedReader(new InputStreamReader(sourceStream)); BufferedReader reader = new BufferedReader(new InputStreamReader(sourceStream));
while ((buf = reader.readLine()) != null) { while ((buf = reader.readLine()) != null) {
src.append(buf); src.append(buf + '\n');
} }
reader.close(); reader.close();
} catch (Exception e) { } catch (Exception e) {