Pavel Dolgov
|
a624c87488
|
Java: Don't use PSI elements in the global inspection "Redundant 'requires' statement in module-info", tests added (IDEA-163139)
|
2016-11-24 15:14:47 +03:00 |
|
Tagir Valeev
|
7e89cd1ef2
|
IDEA-164277 "Simplifiable conditional usage of Map.get()" may suggest putIfAbsent() in following case
|
2016-11-23 13:14:50 +07:00 |
|
Tagir Valeev
|
0053cc6c7e
|
IDEA-164271 "Simplifiable conditional usage of Map.get()" doesn't recognize proper pattern with adding additional parentheses
|
2016-11-23 12:30:56 +07:00 |
|
Tagir Valeev
|
e60be117ba
|
CommentTracker#markUsed -> markUnchanged; ReplaceInefficientStreamCountInspection: move comments from .stream() call parameters list outside of resulting .size() parameters list (IDEA-CR-16097).
|
2016-11-23 11:46:22 +07:00 |
|
Tagir Valeev
|
492d6ad737
|
ReplaceInefficientStreamCountInspection: remove generic parameter list if any
|
2016-11-22 12:31:24 +07:00 |
|
Tagir Valeev
|
ec864dc55a
|
IDEA-163874 "Replace inefficient Stream API call chains ending with count" removes comments
IDEA-163875 Inspection "Replace inefficient Stream API call chains ending with count()" should respect alignment settings
|
2016-11-22 12:14:21 +07:00 |
|
peter
|
103feba4ca
|
IDEA-164159 Nullability annotations don't work with generics
|
2016-11-21 16:41:08 +01:00 |
|
Tagir Valeev
|
bb0a1b6817
|
IDEA-163980 Inspection "Collections.sort() can be replaced with List.sort()" may leave unnecessary parentheses
|
2016-11-21 14:59:02 +07:00 |
|
peter
|
b261c7fd57
|
IDEA-163678 "Passing non-null argument to 'Optional'" warning expected
|
2016-11-09 14:31:09 +01:00 |
|
Tagir Valeev
|
29cefc5859
|
Java8ReplaceMapGetInspection: missing statements.length check is added (EA-91331)
|
2016-11-08 15:51:02 +07:00 |
|
peter
|
55a07ffd43
|
IDEA-163489 Inspection "Constant conditions & exceptions" with option "Suggest @Nullable annotation for methods" warns about lambdas
|
2016-11-04 15:15:16 +01:00 |
|
Tagir Valeev
|
f04509a776
|
IDEA-163302 Suggest to use IntStream.boxed() if manually mapping to an Integer
|
2016-11-03 11:26:21 +07:00 |
|
peter
|
8c54e84341
|
don't suggest to make parameters for field @NotNull if the parameters don't belong to a constructor
|
2016-11-02 16:50:35 +01:00 |
|
Tagir Valeev
|
c8b125fb65
|
IDEA-163051 "Replace inefficient Stream API call chains ending with count()": fix leaves redundant casts
IDEA-163050 "Replace inefficient Stream API call chains ending with count()": highlighting
|
2016-10-25 12:27:51 +07:00 |
|
Dmitry Batkovich
|
e892ed03fa
|
null argument checker: initialize memory state with nullable parameter states IDEA-162816
|
2016-10-20 18:43:37 +03:00 |
|
peter
|
87a28d8d6e
|
dfa: honor control transfer instructions when performing auxiliary analyses (IDEA-162557)
|
2016-10-19 19:27:57 +02:00 |
|
Tagir Valeev
|
57d38b610f
|
IDEA-162662 inspection: simplify obvious stream collect transformation to direct java.util equivalent
|
2016-10-19 15:48:35 +07:00 |
|
Dmitry Batkovich
|
9858aaf705
|
null argument checker: filter out unused parameters
|
2016-10-17 15:22:57 +03:00 |
|
Tagir Valeev
|
d9dbae7549
|
IDEA-162215 "Collection usage could be simplified in Java 8": Generate computeIfAbsent as well as putIfAbsent
|
2016-10-12 17:04:41 +03:00 |
|
Tagir Valeev
|
73eef6c8ac
|
IDEA-161257 Follow-up: support scenarios like map.put(key, value = new ArrayList<>()); refactor
|
2016-10-12 14:25:24 +03:00 |
|
Tagir Valeev
|
a5a0a3657b
|
fix StringTokenizerDelimiterInspection (it did not escape double-quote, EA-89721)
|
2016-10-11 14:18:52 +03:00 |
|
peter
|
566438d2e2
|
dfa: empty stack on contract fail (IDEA-CR-14293)
|
2016-10-10 15:59:06 +02:00 |
|
Anna.Kozlova
|
6d148ad453
|
convert to local: skip refs in javadocs (IDEA-162003)
|
2016-10-10 14:19:25 +02:00 |
|
Dmitry Batkovich
|
1153b60414
|
null argument checker: accept ephemeral memory states to analysis IDEA-162184
|
2016-10-10 13:12:51 +03:00 |
|
peter
|
6b3e2fc6db
|
java dfa: rewrite "try "treatment to visit finally on break/continue control transfers (IDEA-55394, IDEA-156394)
|
2016-10-07 12:32:30 +02:00 |
|
Tagir Valeev
|
aa605118de
|
LightQuickFixTestCase: Check whether <caret> is present in "before" files; wrong tests fixed
|
2016-10-07 16:34:42 +07:00 |
|
Tagir Valeev
|
ddb1c0e0f4
|
SimplifyStreamApiCallChainsInspection: support primitive anyMatch/noneMatch/allMatch conversions
|
2016-10-07 15:46:11 +07:00 |
|
Tagir Valeev
|
afd1d1b470
|
IDEA-161259 follow-up: support scenarios when iterator.next() call is inlined into condition
|
2016-10-05 15:24:55 +07:00 |
|
Anna.Kozlova
|
1f41202f49
|
redundant cast: mark raw cast as redundant when raw is expected (IDEA-162022)
|
2016-10-04 18:45:14 +02:00 |
|
Anna.Kozlova
|
1cf1300ab1
|
redundant cast: convert tests to light
|
2016-10-04 18:45:14 +02:00 |
|
Tagir Valeev
|
50e727cbf4
|
IDEA-162051 Simplify !Stream.anyMatch(x -> !(...)) to Stream.allMatch() and so on
|
2016-10-04 17:16:59 +07:00 |
|
Tagir Valeev
|
6629cc0fb1
|
Java8CollectionsApiInspection is split into 4 separate inspections
|
2016-10-04 13:15:57 +07:00 |
|
Dmitry Batkovich
|
cb30ac46f5
|
make SameParameterValueInspection be available in editor
|
2016-10-03 13:08:55 +03:00 |
|
peter
|
135a5d5c48
|
IDEA-153564 @Contract annotation for constructors; report non-trivial always failing calls
|
2016-09-28 16:46:40 +02:00 |
|
Tagir Valeev
|
c3e57bf911
|
Java8CollectionsApiInspection: access modifiers, cosmetic, more comments in tests (IDEA-CR-14084)
|
2016-09-28 12:06:44 +07:00 |
|
Tagir Valeev
|
bee98f0f07
|
IDEA-161259 Add Java-8 migration to use Collection.removeIf() where appropriate
|
2016-09-27 17:48:38 +07:00 |
|
peter
|
57267fe776
|
Enum.values() is not-null (IDEA-161644)
|
2016-09-23 12:59:47 +02:00 |
|
peter
|
b571394209
|
don't infer ->null contracts in scope of @MethodAreNonNullByDefault (addendum to IDEA-160991)
|
2016-09-21 10:50:31 +02:00 |
|
peter
|
e3e321d056
|
issue dfa warnings when comparing non-final variables with constant values (IDEA-157871)
|
2016-09-20 16:41:43 +02:00 |
|
Tagir Valeev
|
4dc745c71d
|
format code after conversion to getOrDefault/computeIfAbsent
|
2016-09-20 11:16:54 +07:00 |
|
peter
|
ca8004bfea
|
IDEA-160991 Returning null should result in a warning in @TypeQualifierDefault notnull method
|
2016-09-19 18:05:40 +02:00 |
|
Tagir Valeev
|
20185a7339
|
IDEA-161202 parentheses added if necessary
|
2016-09-19 16:32:27 +07:00 |
|
peter
|
9e1704670c
|
support org.springframework.util.Assert.notNull (IDEA-159977)
|
2016-09-16 15:54:58 +02:00 |
|
Tagir Valeev
|
1ec6d3d0dd
|
IDEA-161257 Map.computeIfAbsent: disable inspection if checked exception is thrown from lambda body
|
2016-09-16 10:26:14 +07:00 |
|
Tagir Valeev
|
9b54b344af
|
IDEA-161257 Add Java-8 migration fix to use Map.computeIfAbsent where appropriate
|
2016-09-16 10:00:47 +07:00 |
|
Tagir Valeev
|
be442cdaca
|
IDEA-161258 Add Java-8 migration fix to use Map.getOrDefault() where appropriate
|
2016-09-15 16:51:37 +07:00 |
|
Tagir Valeev
|
f3e1bd900e
|
IDEA-161194 Add inspection to optimize Stream.filter(...).findAny().isPresent() to anyMatch(...)
|
2016-09-15 13:20:50 +07:00 |
|
Tagir Valeev
|
8722eec61f
|
IDEA-161202 Replace Collections.sort with List.sort in Java-8
|
2016-09-15 11:24:08 +07:00 |
|
Alexey Kudravtsev
|
cd4c1b08ae
|
new inspection: deprecated member is used
|
2016-09-09 13:53:38 +03:00 |
|
peter
|
e9e9dbfffe
|
IDEA-160635 'Condition always true' inspection sometimes incorrect when inner class access final field
|
2016-09-07 16:25:08 +02:00 |
|