diff options
author | Jim Hahn <jrh3@att.com> | 2021-08-05 16:24:50 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-08-06 09:01:33 -0400 |
commit | 7accd0e89516254d88634d6e978ec3ea03790cd1 (patch) | |
tree | 77f8f2f97138cbeeebbae7f6321f5742248d1b96 /api-active-standby-management/src | |
parent | f9eaa709e739a1596fafe0d840c354087f7ed5ff (diff) |
Use lombok in drools-pdp #4
Updated thru feature-eelf.
Issue-ID: POLICY-3397
Change-Id: Iad12f5f921374775fb5436cb7d13746256cd6d81
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'api-active-standby-management/src')
-rw-r--r-- | api-active-standby-management/src/main/java/org/onap/policy/drools/activestandby/ActiveStandbyFeatureApiConstants.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/api-active-standby-management/src/main/java/org/onap/policy/drools/activestandby/ActiveStandbyFeatureApiConstants.java b/api-active-standby-management/src/main/java/org/onap/policy/drools/activestandby/ActiveStandbyFeatureApiConstants.java index 48f41a68..9047739c 100644 --- a/api-active-standby-management/src/main/java/org/onap/policy/drools/activestandby/ActiveStandbyFeatureApiConstants.java +++ b/api-active-standby-management/src/main/java/org/onap/policy/drools/activestandby/ActiveStandbyFeatureApiConstants.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * api-active-standby-management * ================================================================================ - * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2019, 2021 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,10 +20,13 @@ package org.onap.policy.drools.activestandby; +import lombok.AccessLevel; import lombok.Getter; +import lombok.NoArgsConstructor; import org.onap.policy.common.utils.services.OrderedServiceImpl; -public class ActiveStandbyFeatureApiConstants { +@NoArgsConstructor(access = AccessLevel.PRIVATE) +public final class ActiveStandbyFeatureApiConstants { /** * 'FeatureAPI.impl.getList()' returns an ordered list of objects implementing the 'FeatureAPI' * interface. @@ -31,8 +34,4 @@ public class ActiveStandbyFeatureApiConstants { @Getter private static final OrderedServiceImpl<ActiveStandbyFeatureApi> impl = new OrderedServiceImpl<>(ActiveStandbyFeatureApi.class); - - private ActiveStandbyFeatureApiConstants() { - // do nothing - } } |