Skip to content

Commit 2224705

Browse files
authored
Fix checkstyle issue in AbstractGrpcServerFactory
1 parent 24ce20b commit 2224705

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

grpc-server-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/server/serverfactory/AbstractGrpcServerFactory.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,16 @@ protected void configureKeepAlive(final T builder) {
129129
*/
130130
protected void configureConnectionLimits(final T builder) {
131131
if (this.properties.getMaxConnectionIdle() != null) {
132-
throw new IllegalStateException("MaxConnectionIdle is set but this implementation does not support maxConnectionIdle!");
132+
throw new IllegalStateException(
133+
"MaxConnectionIdle is set but this implementation does not support maxConnectionIdle!");
133134
}
134135
if (this.properties.getMaxConnectionAge() != null) {
135-
throw new IllegalStateException("MaxConnectionAge is set but this implementation does not support maxConnectionAge!");
136+
throw new IllegalStateException(
137+
"MaxConnectionAge is set but this implementation does not support maxConnectionAge!");
136138
}
137139
if (this.properties.getMaxConnectionAgeGrace() != null) {
138-
throw new IllegalStateException("MaxConnectionAgeGrace is set but this implementation does not support maxConnectionAgeGrace!");
140+
throw new IllegalStateException(
141+
"MaxConnectionAgeGrace is set but this implementation does not support maxConnectionAgeGrace!");
139142
}
140143
}
141144

0 commit comments

Comments
 (0)