walkmod / walkmod-pmd-plugin

Walkmod plugin to fix the code according the PMD rules
2 stars 2 forks source link

wrong iterator (?)/for (?) refactoring #12

Closed cal101 closed 6 years ago

cal101 commented 7 years ago
             if(vList.size()!=0){
-                StringBuffer valueBuffer = new StringBuffer();
-                Iterator<Object> vListIterator = vList.iterator();
-                for(int i = 0; i < vList.size(); i++){
+                for(int ; i < vList.size(); i++){
                     valueBuffer.append(vListIterator.next());
                 }
rpau commented 7 years ago

Cal, I think that this is the same than issue #9. I will deploy again, could you validate again if it still happens? Thanks