Skip to content

Commit bc44cd6

Browse files
committed
Polish
1 parent 07b6f83 commit bc44cd6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/KafkaMetricsAutoConfigurationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ void whenKafkaStreamsIsEnabledAndThereIsNoMeterRegistryThenListenerCustomization
101101
static class EnableKafkaStreamsConfiguration {
102102

103103
@Bean
104-
public KTable<?, ?> table(StreamsBuilder builder) {
104+
KTable<?, ?> table(StreamsBuilder builder) {
105105
KStream<Object, Object> stream = builder.stream(Pattern.compile("test"));
106106
return stream.groupByKey().count(Materialized.as("store"));
107107
}

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/kafka/KafkaAutoConfigurationIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 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.
@@ -130,7 +130,7 @@ NewTopic adminCreated() {
130130
static class KafkaStreamsConfig {
131131

132132
@Bean
133-
public KTable<?, ?> table(StreamsBuilder builder) {
133+
KTable<?, ?> table(StreamsBuilder builder) {
134134
KStream<Object, Object> stream = builder.stream(Pattern.compile("test"));
135135
return stream.groupByKey().count(Materialized.as("store"));
136136
}

0 commit comments

Comments
 (0)