Skip to content

Commit 8d8f2b3

Browse files
committed
Fix compile warning for the ExceptionClassifier
1 parent 9532e42 commit 8d8f2b3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spring-kafka/src/main/java/org/springframework/kafka/listener/ExceptionClassifier.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021-2023 the original author or authors.
2+
* Copyright 2021-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -121,7 +121,7 @@ protected BinaryExceptionClassifier getClassifier() {
121121
* All others will be retried.
122122
* When calling this method, the defaults will not be applied.
123123
* @param classifications the classifications.
124-
* @param defaultValue whether or not to retry non-matching exceptions.
124+
* @param defaultValue whether to retry non-matching exceptions.
125125
* @see BinaryExceptionClassifier#BinaryExceptionClassifier(Map, boolean)
126126
* @see #addNotRetryableExceptions(Class...)
127127
*/
@@ -219,6 +219,7 @@ public Boolean removeClassification(Class<? extends Exception> exceptionType) {
219219
* @author Gary Russell
220220
*
221221
*/
222+
@SuppressWarnings("serial")
222223
private static final class ExtendedBinaryExceptionClassifier extends BinaryExceptionClassifier {
223224

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

0 commit comments

Comments
 (0)