risdenk commented on code in PR #1128:
URL: https://github.com/apache/solr/pull/1128#discussion_r1005844463
##########
solr/core/src/java/org/apache/solr/cloud/api/collections/ReindexCollectionCmd.java:
##########
@@ -138,7 +138,7 @@ public static State get(Object p) {
return states.get(p);
}
- static Map<String, State> states =
+ static final Map<String, State> states =
Collections.unmodifiableMap(
Stream.of(State.values())
.collect(Collectors.toMap(State::toLower,
Function.identity())));
Review Comment:
addressed in c324ae6e07fb6134708d9e67d38172ec91c4f27d
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]