mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
IDEA-172798 "Immutable collection creation can be replaced" to remove temporary variable used for assignment
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user