diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-10-17 10:26:58 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2019-10-17 17:12:11 -0400 |
commit | e9b8aa0223e6f042c0533176ae8222fb061852de (patch) | |
tree | ce5ac86f12a3430a688af34e5838c8be79504d12 /PolicyEngineUtils/src/main/java/org/onap/policy/api/UpdateType.java | |
parent | 3c95fa7249cccc3d0eb3c9e89ba708a3167d41ba (diff) |
Re-format source code
No longer need the onap-java-formatter.xml in the repo - just
use command line to set path to it as this process is done
manually anyway.
Fixed missing javadoc, curly braces and variables names.
One minor fix to remove redundant jump and then unnecessary
lambda expression.
Distance from usage - moved code.
Fixed compilation error in PeCryptoUtils due to policy/common
change.
Fixed some test sources with consecutive capital letter in
names.
Updated licenses.
Added some trivial code coverage.
Issue-ID: POLICY-2145
Change-Id: I6c36650554e4fe31a3e71538d898535bc77e7e74
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'PolicyEngineUtils/src/main/java/org/onap/policy/api/UpdateType.java')
-rw-r--r-- | PolicyEngineUtils/src/main/java/org/onap/policy/api/UpdateType.java | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/PolicyEngineUtils/src/main/java/org/onap/policy/api/UpdateType.java b/PolicyEngineUtils/src/main/java/org/onap/policy/api/UpdateType.java index 7f401fec0..6219928bc 100644 --- a/PolicyEngineUtils/src/main/java/org/onap/policy/api/UpdateType.java +++ b/PolicyEngineUtils/src/main/java/org/onap/policy/api/UpdateType.java @@ -2,14 +2,14 @@ * ============LICENSE_START======================================================= * PolicyEngineUtils * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017, 2019 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. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -21,18 +21,18 @@ package org.onap.policy.api; /** - * Enumeration of the Update Type that has occurred in the <code>UpdatedPolicy</code> of - * {@link org.onap.policy.api.LoadedPolicy} + * Enumeration of the Update Type that has occurred in the <code>UpdatedPolicy</code> of + * {@link org.onap.policy.api.LoadedPolicy}. * * @version 0.1 */ public enum UpdateType { /** - * Indicates that a policy has been updated + * Indicates that a policy has been updated. */ UPDATE("update"), /** - * Indicates that a policy is new + * Indicates that a policy is new. */ NEW("new"); @@ -43,7 +43,8 @@ public enum UpdateType { } /** - * Returns the <code>String</code> format of the Type for this <code>UpdateType</code> + * Returns the <code>String</code> format of the Type for this <code>UpdateType</code>. + * * @return the <code>String</code> Type of <code>UpdateType</code> */ @Override |