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_r208024603
########## 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 I don't understand, could you give an example? I formatted the spaces on these lines because they violated the NoWhitespaceBefore rule. ---------------------------------------------------------------- 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