Skip to content

Commit

Permalink
suppressing forbidden warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
masseyke committed Oct 26, 2024
1 parent 6da217a commit ac0f9e4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ private static String getFormattedList(Set<String> fields) {
* This returns all AbstractResponse classes that are declared in transform methods in classes defined in MaxmindIpDataLookups.
*/
@SuppressWarnings("unchecked")
@SuppressForbidden(reason = "Need declared classes and methods")
private static Set<Class<? extends AbstractResponse>> getUsedMaxMindResponseClasses() {
Set<Class<? extends AbstractResponse>> result = new HashSet<>();
Class<?>[] declaredClasses = MaxmindIpDataLookups.class.getDeclaredClasses();
Expand Down

0 comments on commit ac0f9e4

Please sign in to comment.