maedhroz commented on code in PR #2660:
URL: https://github.com/apache/cassandra/pull/2660#discussion_r1318796072
##########
src/java/org/apache/cassandra/repair/RepairMessageVerbHandler.java:
##########
@@ -44,18 +44,38 @@
*/
public class RepairMessageVerbHandler implements IVerbHandler<RepairMessage>
{
- public static RepairMessageVerbHandler instance = new
RepairMessageVerbHandler();
+ private static class Holder
+ {
+ private static RepairMessageVerbHandler instance = new
RepairMessageVerbHandler();
Review Comment:
```suggestion
private static final RepairMessageVerbHandler instance = new
RepairMessageVerbHandler();
```
--
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]