aboutsummaryrefslogtreecommitdiffstats
path: root/ajsc-aai/src/main/java/org/openecomp/aai/db/schema/Named.java
diff options
context:
space:
mode:
authorBharat saraswal <bharat.saraswal@huawei.com>2017-09-21 20:26:30 +0530
committerBharat saraswal <bharat.saraswal@huawei.com>2017-09-21 20:27:50 +0530
commitb7d0116d228ba50d89429c615ff3e88eec30885e (patch)
tree6914220baf2f8e2dd5b66f8b55417e0ddb625df8 /ajsc-aai/src/main/java/org/openecomp/aai/db/schema/Named.java
parentfa0b665cbf2d95af70562cef7f372dfb24501c09 (diff)
Resolved below sonar issues:
reduced method complexitity. handled null pointer exceptions. removed typo added loggers to handle excpetion and error cases. Issue-Id:AAI-211 Change-Id: Iecdd98de9503c73b66c5b65d474ca23ad4f03fb4 Signed-off-by: Bharat saraswal <bharat.saraswal@huawei.com>
Diffstat (limited to 'ajsc-aai/src/main/java/org/openecomp/aai/db/schema/Named.java')
-rw-r--r--ajsc-aai/src/main/java/org/openecomp/aai/db/schema/Named.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/ajsc-aai/src/main/java/org/openecomp/aai/db/schema/Named.java b/ajsc-aai/src/main/java/org/openecomp/aai/db/schema/Named.java
index 850af57..7e3d233 100644
--- a/ajsc-aai/src/main/java/org/openecomp/aai/db/schema/Named.java
+++ b/ajsc-aai/src/main/java/org/openecomp/aai/db/schema/Named.java
@@ -7,9 +7,9 @@
* 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.
@@ -22,10 +22,10 @@ package org.openecomp.aai.db.schema;
public interface Named {
- /**
- * Gets the name.
- *
- * @return the name
- */
- public String getName();
+ /**
+ * Gets the name.
+ *
+ * @return the name
+ */
+ String getName();
}