summaryrefslogtreecommitdiffstats
path: root/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/InstantiationTypes.java
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2019-07-17 11:10:21 +0200
committerTomasz Golabek <tomasz.golabek@nokia.com>2019-07-25 13:20:42 +0000
commit156ca46de6c9eaac3c943d2676eaa73f02dd422d (patch)
tree36df1a9c620975888c2e0b0cc6abf725f28800d9 /common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/InstantiationTypes.java
parentb0006affdc87ac6ebcfa9bea717ea52c0967952f (diff)
fixing warnings from checkstyle in common-be
Issue-ID: SDC-2454 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I1ee7d055f865eef209e621ec45eba33eef69736f
Diffstat (limited to 'common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/InstantiationTypes.java')
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/InstantiationTypes.java52
1 files changed, 26 insertions, 26 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/InstantiationTypes.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/InstantiationTypes.java
index 5ff4473894..319c98dcca 100644
--- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/InstantiationTypes.java
+++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/InstantiationTypes.java
@@ -12,35 +12,35 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+
package org.openecomp.sdc.be.datatypes.enums;
import java.util.stream.Stream;
public enum InstantiationTypes {
-
- A_LA_CARTE("A-la-carte"),
- MACRO("Macro");
-
- private String value;
-
- private InstantiationTypes(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- /**
- * Checks if enum with the given type exists.
- *
- * @param type
- * @return bool
- */
-
- public static boolean containsName(String type) {
- return Stream.of(InstantiationTypes.values())
- .anyMatch(instType -> type.equals(instType.getValue()));
- }
+
+ A_LA_CARTE("A-la-carte"),
+ MACRO("Macro");
+
+ private String value;
+
+ InstantiationTypes(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Checks if enum with the given type exists.
+ *
+ * @param type
+ * @return bool
+ */
+
+ public static boolean containsName(String type) {
+ return Stream.of(InstantiationTypes.values())
+ .anyMatch(instType -> type.equals(instType.getValue()));
+ }
}