diff options
author | surya-huawei <a.u.surya@huawei.com> | 2017-10-12 11:48:42 +0530 |
---|---|---|
committer | surya-huawei <a.u.surya@huawei.com> | 2017-10-12 11:49:44 +0530 |
commit | e940e23cd0b574f8239cdd24fc3b1e590326361e (patch) | |
tree | 8178d9f1e31758a31a66ca1c38290a3d2725fb83 | |
parent | 312f6a301ae62f121482df6cbf969d41a76ca131 (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>
-rw-r--r-- | dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/pm/PollingWorker.java | 3 |
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 b670a832..4bfa058a 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; |