1 6 7 package com.puppycrawl.tools.checkstyle.indentation; 8 9 13 public class InputValidWhileIndent { 14 15 16 public InputValidWhileIndent() { 17 } 18 19 private void method1() 20 { 21 boolean test = true; 22 23 while (test) System.getProperty("foo"); 24 25 while (test) 26 System.getProperty("foo"); 27 28 while (test) { 29 } 30 31 while (test) 32 { 33 } 34 35 while (test) 36 { 37 System.getProperty("foo"); 38 } 39 40 while (test) { 41 System.getProperty("foo"); 42 } 43 44 while (test) { 45 System.getProperty("foo"); 46 System.getProperty("foo"); 47 } 48 49 while (test) 50 { 51 System.getProperty("foo"); 52 System.getProperty("foo"); 53 } 54 55 while (test) { 56 if (test) { 57 System.getProperty("foo"); 58 } 59 System.getProperty("foo"); 60 } 61 62 while (test) 63 System.getProperty("foo"); 64 65 if (test) { 66 while (test) 67 System.getProperty("foo"); 68 } 69 70 while (test 71 && 4 < 7 && 8 < 9 72 && 3 < 4) { 73 } 74 75 } 76 77 } 78 | Popular Tags |