Commit Graph

4 Commits

Author SHA1 Message Date
Tagir Valeev c3dd106963 LightCodeInsightTestCase: now test name can force the language level. 2017-04-28 15:14:27 +07:00
Tagir Valeev 93e35b7334 ExtractSetFromComparisonChainAction improvements (IDEA-CR-19606)
1. Fixed modifiers for interfaces
2. Replacement wrapped with Collections.unmodifiableSet
3. Supported Java 1.4 and lower
4. Supported Guava ImmutableSet
5. Supported comparisons like s.equals("xyz"), Objects.equals(s, "xyz")
2017-03-27 12:35:02 +07:00
Tagir Valeev d9702d7d8d ExtractSetFromComparisonChainAction: i18n, java9 test, disable in Java 1.4 or lower (as varargs and generics aren't available there) 2017-03-22 18:30:28 +07:00
Tagir Valeev 836c498178 IDEA-168201 Intention to extract a set from "foo".equals(xyz) || "bar".equals(xyz) 2017-03-22 16:35:33 +07:00