void (List<String> testTags) { final List<String> resultJava7 = new ArrayList<>(testTags.size()); for (final String tag : tes<caret>tTags) { if (!foo(resultJava7)) { resultJava7.add(tag.trim()); } } }