Fixing checkstyle
This commit is contained in:
@@ -102,17 +102,7 @@ public class SpringPulsarBootApp {
|
||||
this.logger.info("Message received :" + message);
|
||||
}
|
||||
|
||||
record Foo(String foo, String bar) {
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Foo{" +
|
||||
"foo='" + this.foo + '\'' +
|
||||
", bar='" + this.bar + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Publish and then use PulsarListener in batch listening mode.
|
||||
*/
|
||||
@Bean
|
||||
@@ -135,4 +125,14 @@ public class SpringPulsarBootApp {
|
||||
}
|
||||
}
|
||||
|
||||
record Foo(String foo, String bar) {
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Foo{" +
|
||||
"foo='" + this.foo + '\'' +
|
||||
", bar='" + this.bar + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user