diff options
author | 2018-07-26 11:50:17 +0530 | |
---|---|---|
committer | 2018-07-26 11:50:31 +0530 | |
commit | 34b81bf5964fe4133bf85fdad4c2a127fc66d330 (patch) | |
tree | 70a6af11e1df9b68cd50a1ea77a960787c6654ae /dcae-analytics-cdap-common | |
parent | 484380e9971ea299f9349fef8c98869812fbb207 (diff) |
Sonar major issue
T is not used in the interface
Sonar link : https://sonar.onap.org/issues?myIssues=true&open=AWFSduLYof9FJ6jfXJex&resolved=false
Location : src/main/java/org/onap/dcae/apod/analytics/common/validation/ValidationResponse.java:L34
Change-Id: I48dd2292cd803198f83eddaabad2acdc76c6cbf8
Issue-ID: DCAEGEN2-635
Signed-off-by: BharathS24 <BS00493532@techmahindra.com>
Diffstat (limited to 'dcae-analytics-cdap-common')
2 files changed, 2 insertions, 2 deletions
diff --git a/dcae-analytics-cdap-common/src/main/java/org/onap/dcae/apod/analytics/cdap/common/utils/ValidationUtils.java b/dcae-analytics-cdap-common/src/main/java/org/onap/dcae/apod/analytics/cdap/common/utils/ValidationUtils.java index 5ab2427..bfd7b31 100644 --- a/dcae-analytics-cdap-common/src/main/java/org/onap/dcae/apod/analytics/cdap/common/utils/ValidationUtils.java +++ b/dcae-analytics-cdap-common/src/main/java/org/onap/dcae/apod/analytics/cdap/common/utils/ValidationUtils.java @@ -80,7 +80,7 @@ public abstract class ValidationUtils { * @param <R> Validation Response type * @param <V> Validator Type */ - public static <T extends CDAPAppSettings, R extends ValidationResponse<T>, + public static <T extends CDAPAppSettings, R extends ValidationResponse, V extends CDAPAppSettingsValidator<T, R>> void validateSettings(@Nonnull final T appSettings, @Nonnull final V appSettingsValidator) { checkNotNull(appSettings, "App Settings must not be null"); diff --git a/dcae-analytics-cdap-common/src/main/java/org/onap/dcae/apod/analytics/cdap/common/validation/CDAPAppSettingsValidator.java b/dcae-analytics-cdap-common/src/main/java/org/onap/dcae/apod/analytics/cdap/common/validation/CDAPAppSettingsValidator.java index 2d3cbb1..0154916 100644 --- a/dcae-analytics-cdap-common/src/main/java/org/onap/dcae/apod/analytics/cdap/common/validation/CDAPAppSettingsValidator.java +++ b/dcae-analytics-cdap-common/src/main/java/org/onap/dcae/apod/analytics/cdap/common/validation/CDAPAppSettingsValidator.java @@ -34,7 +34,7 @@ import org.onap.dcae.apod.analytics.common.validation.ValidationResponse; * * @author Rajiv Singla . Creation Date: 11/2/2016. */ -public interface CDAPAppSettingsValidator<T extends CDAPAppSettings, R extends ValidationResponse<T>> +public interface CDAPAppSettingsValidator<T extends CDAPAppSettings, R extends ValidationResponse> extends DCAEValidator { /** |