You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/08/14 05:09:29 UTC

[GitHub] [rocketmq] Lunaticf commented on a change in pull request #1378: Fix some code style issue and remove redundant code

Lunaticf commented on a change in pull request #1378: Fix some code style issue and remove redundant code
URL: https://github.com/apache/rocketmq/pull/1378#discussion_r313705415
 
 

 ##########
 File path: test/src/main/java/org/apache/rocketmq/test/util/RandomUtil.java
 ##########
 @@ -116,17 +116,17 @@ private static String getString(int n, int arg[]) {
     }
 
     public static String getStringWithCharacter(int n) {
-        int arg[] = new int[] {'a', 'z' + 1, 'A', 'Z' + 1};
+        int[] arg = new int[]{'a', 'z' + 1, 'A', 'Z' + 1};
 
 Review comment:
   yes, it's better.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services