Async mod #1
@ -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) {
|
||||||
|
Reference in New Issue
Block a user