1 6 7 package com.puppycrawl.tools.checkstyle.indentation; 8 9 13 public class InputValidCommaIndent { 14 15 16 public InputValidCommaIndent() { 17 } 18 19 public void method1(int x, int y, int z) { 20 boolean test = true; 21 int i, j = 2, 22 k = 4, 23 l, 24 m = 4; 25 26 boolean longVarName = true; 27 boolean myotherLongVariableName = false; 28 if (j == 2 || longVarName == true || myotherLongVariableName == true || myotherLongVariableName == false || longVarName == true) { 29 } 30 31 if ((j == 2 && k == 3) 32 || test) { 33 System.out.println("test"); 34 } 35 36 37 } 38 39 public void method1(int a, int x, 40 int y, int z) { 41 } 42 } 43 | Popular Tags |