From b428ca0261f0333757d114680fb1efa0f424a781 Mon Sep 17 00:00:00 2001 From: surya-huawei Date: Fri, 22 Sep 2017 16:40:30 +0530 Subject: Add "@Override" annotation Added @Override annotation before method signature *This is to improve the readability of code Issue-Id: CCSDK-87 Change-Id: I979eb03ec81b9868012e5c16f48b595c8e53e26e Signed-off-by: surya-huawei --- .../main/java/org/onap/ccsdk/sli/core/dblib/pm/SQLExecutionMonitor.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dblib/provider/src') diff --git a/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/pm/SQLExecutionMonitor.java b/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/pm/SQLExecutionMonitor.java index 95172ad7a..b6664f3c3 100644 --- a/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/pm/SQLExecutionMonitor.java +++ b/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/pm/SQLExecutionMonitor.java @@ -55,6 +55,7 @@ public class SQLExecutionMonitor extends Observable { private final class MonitoringTask extends TimerTask { + @Override public void run() { try { TestObject testObj = new TestObject(); @@ -103,6 +104,7 @@ public class SQLExecutionMonitor extends Observable { startTime = newTime; } + @Override public int compareTo(TestObject o) { if (this == o) { return 0; -- cgit 1.2.3-korg