Skip to content

Commit

Permalink
Revert unnecessary suppress warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed Mar 16, 2022
1 parent 0accc3d commit b97a3ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2022 the original author or authors.
* Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -489,7 +489,6 @@ private String determineAccessorSuffix(String propertyName) {
return StringUtils.capitalize(propertyName);
}

@SuppressWarnings("deprecation")
private Constructor<?> findBindConstructor(Class<?> type) {
boolean classConstructorBinding = MergedAnnotations
.from(type, SearchStrategy.TYPE_HIERARCHY_AND_ENCLOSING_CLASSES)
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2022 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -76,7 +76,6 @@ private Constructor<?> findAnnotatedConstructor(Class<?> type, Constructor<?>...
return constructor;
}

@SuppressWarnings("deprecation")
private boolean isConstructorBindingAnnotatedType(Class<?> type) {
return MergedAnnotations.from(type, MergedAnnotations.SearchStrategy.TYPE_HIERARCHY_AND_ENCLOSING_CLASSES)
.isPresent(ConstructorBinding.class);
Expand Down

0 comments on commit b97a3ae

Please sign in to comment.