ilooner commented on a change in pull request #1415: DRILL-6656: Disallow extra 
semicolons in import statements.
URL: https://github.com/apache/drill/pull/1415#discussion_r208441905
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillAggFuncHolder.java
 ##########
 @@ -93,13 +93,13 @@ public boolean isAggregating() {
         //Loop through all workspace vectors, to get the minimum of size of 
all workspace vectors.
         JVar sizeVar = setupBlock.decl(g.getModel().INT, "vectorSize", 
JExpr.lit(Integer.MAX_VALUE));
         JClass mathClass = g.getModel().ref(Math.class);
-        for (int id = 0; id < getWorkspaceVars().length; id ++) {
+        for (int id = 0; id < getWorkspaceVars().length; id++) {
           if (!getWorkspaceVars()[id].isInject()) {
             
setupBlock.assign(sizeVar,mathClass.staticInvoke("min").arg(sizeVar).arg(g.getWorkspaceVectors().get(getWorkspaceVars()[id]).invoke("getValueCapacity")));
           }
         }
 
-        for(int i =0 ; i < getWorkspaceVars().length; i++) {
+        for(int i =0; i < getWorkspaceVars().length; i++) {
 
 Review comment:
   @vvysotskyi Updated the PR. I tried fixing any other style issues i saw with 
the lines I modified. Please see the latest commit.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to