eolivelli commented on a change in pull request #2129: Remove redundant array
creation
URL: https://github.com/apache/bookkeeper/pull/2129#discussion_r306401746
##########
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:
You are right, but it is better not to change things if not needed or out of
the scope of the patch.
Sorry for so deep nitpicking :)
----------------------------------------------------------------
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