1 /* 2 SeparatorWrap 3 tokens = COMMA 4 option = nl 5 6 */ 7 8 package com.puppycrawl.tools.checkstyle.checks.whitespace.separatorwrap; 9 10 public class InputSeparatorWrapForTestTrailingWhitespace { 11 12 String s; 13 14 // Trailing whitespace after ',' in variable declaration 15 // violation below '',' should be on a new line.' 16 int a, 17 b; 18 19 // Trailing whitespace after ',' in function arguments 20 // violation below '',' should be on a new line.' 21 public void foo(int a, 22 int b) { 23 int r 24 , t; 25 } 26 27 public void bar(int p 28 , int q) { 29 } 30 }