package com.puppycrawl.tools.checkstyle.checks.coding; public class InputMultipleVariableDeclarations { int i, j; int i1; int j1; void method1() { String str, str1; java.lang.Object obj; Object obj1; } // second definition is wrapped // line of VARIABLE_DEF is not the same as first line of the definition java.lang.String string; java.lang.String strings[]; //both definitions is wrapped java.lang. String string1; java.lang.String strings1[]; void method2() { for (int i=0, j=0; i < 10; i++, j--) { } for(int i=0; i<4;i++) { } switch("") { case "6": int k = 7; } } }