diff options
Diffstat (limited to 'api-state-management')
-rw-r--r-- | api-state-management/src/main/java/org/onap/policy/drools/statemanagement/StateManagementFeatureApiConstants.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/api-state-management/src/main/java/org/onap/policy/drools/statemanagement/StateManagementFeatureApiConstants.java b/api-state-management/src/main/java/org/onap/policy/drools/statemanagement/StateManagementFeatureApiConstants.java index be51a502..04e6011e 100644 --- a/api-state-management/src/main/java/org/onap/policy/drools/statemanagement/StateManagementFeatureApiConstants.java +++ b/api-state-management/src/main/java/org/onap/policy/drools/statemanagement/StateManagementFeatureApiConstants.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * policy-core * ================================================================================ - * 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,11 +20,14 @@ package org.onap.policy.drools.statemanagement; +import lombok.AccessLevel; import lombok.Getter; +import lombok.NoArgsConstructor; import org.onap.policy.common.im.StateManagement; import org.onap.policy.common.utils.services.OrderedServiceImpl; -public class StateManagementFeatureApiConstants { +@NoArgsConstructor(access = AccessLevel.PRIVATE) +public final class StateManagementFeatureApiConstants { public static final String LOCKED = StateManagement.LOCKED; public static final String UNLOCKED = StateManagement.UNLOCKED; @@ -63,8 +66,4 @@ public class StateManagementFeatureApiConstants { @Getter private static final OrderedServiceImpl<StateManagementFeatureApi> impl = new OrderedServiceImpl<>(StateManagementFeatureApi.class); - - private StateManagementFeatureApiConstants() { - // do nothing - } } |