// "Remove repeating call 'equals()'" "true-preview" class Test { void test(String s) { if (s.equals("foo").equals("foo")) { } } }