import java.util.*; class AAA { void usage() { Set s1 = new HashSet<>(); Set s2 = new HashSet<>(); if (s1.isEmpty()) { s1.add("foo"); s2.add("foo"); return; } } }