Commit cd9eff9a authored by afreyssin's avatar afreyssin
Browse files

Minor changes.

parent a67c8a2a
......@@ -1449,7 +1449,7 @@ public final class AgentServer {
String config = getProperty(FileMonitoringTimerTask.MONITORING_CONFIG_PATH_PROPERTY,
FileMonitoringTimerTask.DEFAULT_MONITORING_CONFIG_PATH);
try {
// if "monitoring.props" file exists configure a MonitoringTimerTask.
// if "fileMonitoring.props" file exists configure a FileMonitoringTimerTask.
File file = new File(config);
if (file.exists()) {
long period = getLong(FileMonitoringTimerTask.MONITORING_CONFIG_PERIOD_PROPERTY,
......@@ -1479,7 +1479,7 @@ public final class AgentServer {
config = getProperty(LogMonitoringTimerTask.MONITORING_CONFIG_PATH_PROPERTY,
LogMonitoringTimerTask.DEFAULT_MONITORING_CONFIG_PATH);
try {
// if "monitoring.props" file exists configure a MonitoringTimerTask.
// if "logMonitoring.props" file exists configure a FileMonitoringTimerTask.
File file = new File(config);
if (file.exists()) {
long period = getLong(LogMonitoringTimerTask.MONITORING_CONFIG_PERIOD_PROPERTY,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment