IDEA-172798 "Immutable collection creation can be replaced" to remove temporary variable used for assignment

This commit is contained in:
Tagir Valeev
2017-05-15 13:21:05 +07:00
parent b3339b7cfd
commit 1305a60e44
2 changed files with 4 additions and 1 deletions
@@ -5,7 +5,6 @@ public class Test {
private static final Set<String> MY_SET;
static {
Set<String> set;
MY_SET = Set.of("foo", "bar", "xyz");
}
}