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>
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();
}
};