Rustam Vishnyakov
53d0972e83
Do not indent control structures parentheses
...
Fixes:
IDEA-98552 for() statement: Place ')' on new line → "incorrect" alignment
IDEA-175560 Right parenthesis (rparen) on new line is not indented properly
2018-04-25 18:10:02 +03:00
Tagir Valeev
7e915181dc
RedundantCollectionOperationInspection: fix redundant asList type
2018-02-07 11:10:20 +07:00
Tagir Valeev
8d8dce807a
RedundantCollectionOperationInspection: simplify Collections.sort(asList(arr)) to Arrays.sort(arr)
...
Fixes IDEA-93038 Inspection: Replace Collections.sort() with Arrays.sort()
2018-02-06 13:05:29 +07:00
Tagir Valeev
1a40a9f877
RedundantCollectionOperation: warn on if(map.containsKey(x)) map.remove(x)
...
Review ID: IDEA-CR-28150
2018-01-22 13:39:09 +07:00
Tagir Valeev
83c6c5222e
IDEA-184240 Unnecessary array-to-collection wrapping should be detected
2018-01-11 13:51:16 +07:00
Tagir Valeev
ede06bbf4b
RedundantCollectionOperation: more tests (IDEA-CR-28150)
2017-12-25 17:50:25 +07:00
Tagir Valeev
4c568edfc9
RedundantCollectionOperation: remove by index and contains before add/remove
...
IDEA-182694 Inefficient uses of Collection/List.remove
2017-12-25 17:39:36 +07:00
Tagir Valeev
e71ffcdb58
IDEA-182004 Collection.containsAll() can be simplified in certain cases
...
RedundantCollectionOperation: strings externalized, description fixed
2017-11-24 10:40:51 +07:00
Tagir Valeev
0393b4fe2f
IDEA-182206 Simplification for Arrays.asList().sublist().toArray()
2017-11-23 11:52:59 +07:00