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 04:44:01 UTC

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

xiangwangcheng 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_r313701575
 
 

 ##########
 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:
   Thanks for the optimization. I think space is need before curly braces “{”.

----------------------------------------------------------------
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