aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBharathS24 <BS00493532@techmahindra.com>2018-07-24 12:51:13 +0530
committerBharathS24 <BS00493532@techmahindra.com>2018-07-24 12:51:32 +0530
commitffd91b3d2be7f31399971474088d1e0fd0f75c99 (patch)
treede571a6fdc047e574a6942191a3785dec6f4b8f7
parent484380e9971ea299f9349fef8c98869812fbb207 (diff)
Sonar major issue
Remove this Nonnull annotation to honor the overridden method's contract Sonar Link : https://sonar.onap.org/issues?myIssues=true&open=AWFSduchof9FJ6jfXJfh&resolved=false Location : src/main/java/org/onap/dcae/apod/analytics/cdap/plugins/utils/CDAPPluginUtils.java:L56 Change-Id: I43b53374e8a33fb196438826934e14a7d3d2ce43 Issue-ID: DCAEGEN2-631 Signed-off-by: BharathS24 <BS00493532@techmahindra.com>
-rw-r--r--dcae-analytics-cdap-plugins/src/main/java/org/onap/dcae/apod/analytics/cdap/plugins/utils/CDAPPluginUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/dcae-analytics-cdap-plugins/src/main/java/org/onap/dcae/apod/analytics/cdap/plugins/utils/CDAPPluginUtils.java b/dcae-analytics-cdap-plugins/src/main/java/org/onap/dcae/apod/analytics/cdap/plugins/utils/CDAPPluginUtils.java
index 5f622cd..657f0af 100644
--- a/dcae-analytics-cdap-plugins/src/main/java/org/onap/dcae/apod/analytics/cdap/plugins/utils/CDAPPluginUtils.java
+++ b/dcae-analytics-cdap-plugins/src/main/java/org/onap/dcae/apod/analytics/cdap/plugins/utils/CDAPPluginUtils.java
@@ -53,7 +53,7 @@ public abstract class CDAPPluginUtils extends AnalyticsModelJsonUtils {
public static final Function<Schema, Schema.Type> SCHEMA_TO_TYPE_FUNCTION = new Function<Schema, Schema.Type>() {
@Override
- public Schema.Type apply(@Nonnull Schema schema) {
+ public Schema.Type apply(Schema schema) {
return schema.getType();
}
};