From 2ce71756633685602087ddbaefb7b63fc1392aed Mon Sep 17 00:00:00 2001 From: John Blum Date: Tue, 30 Mar 2021 16:11:54 -0700 Subject: [PATCH] Fix compiler warning. Declare User.name constant (immutable) field as final. --- .../SpringBootApacheGeodeClientServerIntegrationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-geode-autoconfigure/src/test/java/org/springframework/geode/boot/autoconfigure/topology/clientserver/SpringBootApacheGeodeClientServerIntegrationTests.java b/spring-geode-autoconfigure/src/test/java/org/springframework/geode/boot/autoconfigure/topology/clientserver/SpringBootApacheGeodeClientServerIntegrationTests.java index da862815..ccb0d003 100644 --- a/spring-geode-autoconfigure/src/test/java/org/springframework/geode/boot/autoconfigure/topology/clientserver/SpringBootApacheGeodeClientServerIntegrationTests.java +++ b/spring-geode-autoconfigure/src/test/java/org/springframework/geode/boot/autoconfigure/topology/clientserver/SpringBootApacheGeodeClientServerIntegrationTests.java @@ -156,7 +156,7 @@ class User { @Id @lombok.NonNull - private String name; + private final String name; }