mirror of https://github.com/apache/kafka.git
MINOR: Fix an incorrect assignment in StreamsUncaughtExceptionHandlerIntegrationTest (#18837)
This constructor was not initializing a field with the constructor argument, the extra `} {` was ending the constructor body and creating an instance initializer block that assigned the field to itself. Reviewers: Matthias J. Sax <matthias@confluent.io>
This commit is contained in:
parent
effbad9e80
commit
1bb0c9a54b
|
@ -183,8 +183,6 @@ public class StreamsUncaughtExceptionHandlerIntegrationTest {
|
|||
|
||||
private static class ShutdownProcessor<KIn, VIn, KOut, VOut> implements Processor<KIn, VIn, KOut, VOut> {
|
||||
|
||||
private ProcessorContext<KOut, VOut> context;
|
||||
|
||||
final List<String> valueList;
|
||||
|
||||
ShutdownProcessor(final List<String> valueList) {
|
||||
|
@ -192,8 +190,7 @@ public class StreamsUncaughtExceptionHandlerIntegrationTest {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void init(final ProcessorContext<KOut, VOut> context) {} {
|
||||
this.context = context;
|
||||
public void init(final ProcessorContext<KOut, VOut> context) {
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue