aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsurya-huawei <a.u.surya@huawei.com>2017-09-22 16:40:30 +0530
committersurya-huawei <a.u.surya@huawei.com>2017-09-22 16:43:29 +0530
commitb428ca0261f0333757d114680fb1efa0f424a781 (patch)
tree2a9016efc0735391cf900f6d5564a4de775c4339
parent37d6468cc670045ab4ff1ee23315739a429aa5e3 (diff)
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 <a.u.surya@huawei.com>
-rw-r--r--dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/pm/SQLExecutionMonitor.java2
1 files changed, 2 insertions, 0 deletions
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 95172ad7..b6664f3c 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;