1 package org.checkstyle.suppressionxpathfilter.multiplestringliterals; 2 3 public class InputXpathMultipleStringLiteralsAllowDuplicates { 4 String a = "StringContents"; // ok 5 public void myTest() { 6 String a2 = "StringContents"; 7 String a3 = "DoubleString" + "DoubleString"; // ok 8 String a5 = ", " + ", " + ", "; // warn 9 } 10 }