#119 code clean-up

- findbug, pmd, klocwork warning
This commit is contained in:
Woonduk Kang
2014-12-18 14:27:50 +09:00
parent cd8b6a2a00
commit baf6473d37
2 changed files with 2 additions and 3 deletions
@@ -39,7 +39,6 @@ public class PinpointBootStrap {
final boolean duplicated = checkDuplicateLoadState();
if (duplicated) {
// Don't handle the duplicated state. Don't use it as bellow.
//changeLoadState(BOOT_STRAP_LOAD_STATE_ERROR);
logPinpointAgentLoadFail();
return;
@@ -73,7 +72,7 @@ public class PinpointBootStrap {
return;
}
// set the path of log file as a system property
// set the path of log file as a system property
saveLogFilePath(classPathResolver);
try {
@@ -22,7 +22,7 @@ public class AgentStatDataCollector extends DataCollector {
private final ApplicationIndexDao applicationIndexDao;
private final long timeSlotEndTime;
private final long slotInterval;
private final AtomicBoolean init =new AtomicBoolean(false); // need to consider the concurrency situation when checkers start simultaneously.
private final AtomicBoolean init = new AtomicBoolean(false); // need to consider the concurrency situation when checkers start simultaneously.
private final Map<String, Long> agentHeapUsageRate = new HashMap<String, Long>();
private final Map<String, Long> agentGcCount = new HashMap<String, Long>();