diff options
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 { /** |