vzhikserg commented on a change in pull request #2129: Remove redundant array 
creation
URL: https://github.com/apache/bookkeeper/pull/2129#discussion_r306346189
 
 

 ##########
 File path: 
stream/distributedlog/protocol/src/main/java/org/apache/distributedlog/exceptions/UnsupportedMetadataVersionException.java
 ##########
 @@ -25,6 +25,6 @@
     private static final long serialVersionUID = 4980892659955478446L;
 
     public UnsupportedMetadataVersionException(String message) {
-        super(StatusCode.UNSUPPORTED_METADATA_VERSION, String.format(message));
+        super(StatusCode.UNSUPPORTED_METADATA_VERSION, message);
 
 Review comment:
   thanks for the comment. The change was reverted, but I don't see how this 
formatting can help without any arguments 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to