Skip to content

Commit

Permalink
Fix compile warning for the ExceptionClassifier
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Jan 18, 2024
1 parent 9532e42 commit 8d8f2b3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021-2023 the original author or authors.
* Copyright 2021-2024 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 @@ -121,7 +121,7 @@ protected BinaryExceptionClassifier getClassifier() {
* All others will be retried.
* When calling this method, the defaults will not be applied.
* @param classifications the classifications.
* @param defaultValue whether or not to retry non-matching exceptions.
* @param defaultValue whether to retry non-matching exceptions.
* @see BinaryExceptionClassifier#BinaryExceptionClassifier(Map, boolean)
* @see #addNotRetryableExceptions(Class...)
*/
Expand Down Expand Up @@ -219,6 +219,7 @@ public Boolean removeClassification(Class<? extends Exception> exceptionType) {
* @author Gary Russell
*
*/
@SuppressWarnings("serial")
private static final class ExtendedBinaryExceptionClassifier extends BinaryExceptionClassifier {

ExtendedBinaryExceptionClassifier(Map<Class<? extends Throwable>, Boolean> typeMap, boolean defaultValue) {
Expand Down

0 comments on commit 8d8f2b3

Please sign in to comment.