summaryrefslogtreecommitdiffstats
path: root/dblib/provider
diff options
context:
space:
mode:
authorsurya-huawei <a.u.surya@huawei.com>2017-10-12 11:48:42 +0530
committersurya-huawei <a.u.surya@huawei.com>2017-10-12 11:49:44 +0530
commite940e23cd0b574f8239cdd24fc3b1e590326361e (patch)
tree8178d9f1e31758a31a66ca1c38290a3d2725fb83 /dblib/provider
parent312f6a301ae62f121482df6cbf969d41a76ca131 (diff)
Add @Override annotation
*This is improve readability of source code Issue-Id: CCSDK-117 Change-Id: I4bb73a6e4b440ae861045c7548a7e985d1fbf02c Signed-off-by: surya-huawei <a.u.surya@huawei.com>
Diffstat (limited to 'dblib/provider')
-rw-r--r--dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/pm/PollingWorker.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/pm/PollingWorker.java b/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/pm/PollingWorker.java
index b670a832d..4bfa058a8 100644
--- a/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/pm/PollingWorker.java
+++ b/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/pm/PollingWorker.java
@@ -102,6 +102,7 @@ public class PollingWorker implements Runnable {
tasks.remove(object);
}
+ @Override
public void run() {
for(;;){
Set data = new TreeSet();
@@ -150,6 +151,7 @@ public class PollingWorker implements Runnable {
class MyTimerTask extends TimerTask{
+ @Override
public void run() {
clearReqister();
@@ -198,6 +200,7 @@ public class PollingWorker implements Runnable {
return endtime - starttime;
}
+ @Override
public int compareTo(Object o) {
if(o instanceof TestSample){
TestSample x = (TestSample)o;