Organized config file definitions.

This commit is contained in:
MobiusDev
2017-08-29 00:35:53 +00:00
parent aec0c9dddb
commit 729c08c372
24 changed files with 160 additions and 160 deletions

View File

@@ -91,7 +91,7 @@ public final class GameStatusThread extends Thread
telnetOutput(2, "");
}
final File file = new File(Config.TELNET_FILE);
final File file = new File(Config.TELNET_CONFIG_FILE);
try (InputStream telnetIS = new FileInputStream(file))
{
final Properties telnetSettings = new Properties();

View File

@@ -86,7 +86,7 @@ public final class LoginStatusThread extends Thread
telnetOutput(2, "");
}
final File file = new File(Config.TELNET_FILE);
final File file = new File(Config.TELNET_CONFIG_FILE);
try (InputStream telnetIS = new FileInputStream(file))
{
final Properties telnetSettings = new Properties();

View File

@@ -100,7 +100,7 @@ public class Status extends Thread
super("Status");
_mode = mode;
final Properties telnetSettings = new Properties();
try (InputStream is = new FileInputStream(new File(Config.TELNET_FILE)))
try (InputStream is = new FileInputStream(new File(Config.TELNET_CONFIG_FILE)))
{
telnetSettings.load(is);
}