Add @Override annotation 77/14977/2
authorsurya-huawei <a.u.surya@huawei.com>
Mon, 25 Sep 2017 08:36:46 +0000 (14:06 +0530)
committerSURYA A U <a.u.surya@huawei.com>
Wed, 27 Sep 2017 03:09:00 +0000 (03:09 +0000)
*Major sonar issue in ccsdk/dashboard module
This is done to increase the code readability

Issue-Id: CCSDK-87
Change-Id: If34d7f18169f955a1dbc112c7ea44d8dd3d4833d
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
oom-app-os/src/main/java/org/onap/portalapp/lm/FusionLicenseManagerImpl.java

index 7a08f54..e0da1c9 100644 (file)
@@ -40,18 +40,22 @@ public class FusionLicenseManagerImpl implements FusionLicenseManager {
         * An implementation of the KeyStoreParam interface that returns the
         * information required to work with the keystore containing the private key.
         */
+       @Override
        public void initKeyStoreParam() {
        }
 
+       @Override
        public void initCipherParam() {
        }
 
        /**
         * Create/populate the "licenseParm" field.
         */
+       @Override
        public void initLicenseParam() {
        }
 
+       @Override
        public void doInitWork() {
        }
 
@@ -61,10 +65,12 @@ public class FusionLicenseManagerImpl implements FusionLicenseManager {
         * 
         * @return true if the license installed properly, false otherwise.
         */
+       @Override
        public int installLicense() {
                return INVALID_LICENSE;
        }
 
+       @Override
        public synchronized int verifyLicense(ServletContext context) {
 
                return INVALID_LICENSE;
@@ -79,10 +85,12 @@ public class FusionLicenseManagerImpl implements FusionLicenseManager {
                return (s == null) ? "" : s;
        }
 
+       @Override
        public Date getExpiredDate() {
                return expiredDate;
        }
 
+       @Override
        public void setExpiredDate(Date expiredDate) {
                this.expiredDate = expiredDate;
        }