Commit Graph
210 Commits
Author SHA1 Message Date
Dmitry Batkovich d38f680fd6 type migration: fix type parameter migration for invalid code EA-100944 2017-05-15 12:56:11 +03:00
Alexey Kudravtsev 4a4626c750 removed default file header, because it adds no information but subtracts attention and space 2017-05-12 14:02:24 +03:00
Alexey Kudravtsev 920d5b4fba removed default file header, because it adds no information but subtracts attention and space 2017-05-11 13:39:07 +03:00
Bas Leijdekkers 571378ccb1 SSR: remove unnecessary parameter 2017-05-07 20:53:20 +02:00
Dmitry Batkovich 07a32e8627 migrate to assertThat inspection should extends BaseJavaBatchLocalInspectionTool 2017-05-04 13:40:08 +03:00
Dmitry Batkovich 60a37218b3 IDEA-172052 try to use Matchers instead of CoreMatchers when converting assertEquals/assertTrue/etc. to assertThat 2017-05-03 17:41:22 +03:00
Anna.Kozlova 583a728f89 cleanup redundant type arguments 2017-04-27 12:37:01 +02:00
Alexey Kudravtsev a529b702ed Logger.getInstance("#" + class.name) simplified 2017-04-21 16:06:02 +03:00
Dmitry Batkovich 2aebcfd15b fix guava inspection tests 2017-04-03 16:27:25 +03:00
Dmitry Batkovich c5b9856a8e unbomb guava inspection tests 2017-04-03 12:45:16 +03:00
Vladimir Krivosheev 0e48b2a0f6 update guava to 21.0 — disable GuavaInspectionTest for now 2017-03-27 16:13:51 +02:00
Vladimir Krivosheev ca7afcff13 update guava to 21.0 2017-03-27 16:13:51 +02:00
Roman Shevchenko 5e5c14c57e [java] raises language level to Java 9 2017-03-24 18:35:57 +01:00
Dmitry Batkovich 5f5c24064b type migration: fix AIOOBE for method with generic varargs migration (EA-87127) update (IDEA-CR-19211) 2017-03-22 11:32:21 +03:00
Dmitry Batkovich 3e80efb857 type migration: fix AIOOBE for method with generic varargs migration (EA-87127) 2017-03-13 16:53:06 +03:00
Dmitry Batkovich f265443ae1 guava type migration: simplify batch quick fix and remove wrong assertions (in case when run from inspection view; EA-98480) 2017-03-13 11:36:12 +03:00
Anna.Kozlova ccc1ad85f8 grouping (following IDEA-CR-18290) 2017-02-16 11:14:15 +01:00
Bas Leijdekkers e21c73d723 fix test data 2017-02-09 17:32:08 +01:00
Bas Leijdekkers 466f4075b3 match intention name to other intentions in the Concurrency group 2017-02-09 14:39:47 +01:00
Dmitry Batkovich acebed8e8f guava type migration: improve template for guava's Optional#asSet() (IDEA-167813) 2017-02-09 13:13:54 +03:00
Dmitry Batkovich db79567112 assertion -> assertThat inspection: fix template for assertFalse (IDEA-167545) 2017-02-09 10:38:15 +03:00
Dmitry Batkovich 8b30f67e59 type migration fix: use normalize variable declaration inside write-action (EA-95329) 2017-01-26 15:21:19 +03:00
Dmitry Batkovich d8970c5164 convert atomic to LongAdder: check that variable type is valid EA-95170 2017-01-24 17:16:31 +03:00
Dmitry Batkovich be230d90bf guava type migration: fix stack overflow when lambda implements guava & java function EA-92353 2017-01-20 11:52:41 +03:00
Bas Leijdekkers feb4d6c436 cleanup intention description and template 2017-01-19 13:36:22 +01:00
Dmitry Batkovich 278ceaca88 guava type migration: fix for filter(Class<T>) migration (should add cast to new type) IDEA-165420 2016-12-21 13:24:33 +03:00
Anna.Kozlova 81e49151ff don't insert braces around single lambda parameter 2016-12-06 12:35:48 +01:00
peter cf4ac26b5d correct read-only file handling in more java intentions 2016-11-29 13:31:06 +01:00
Tagir Valeev 67c4dfb483 Moved TypeUtils#getMethodReturnType -> PsiTypesUtil; used in LambdaUtil#getFunctionalInterfaceType amd PsiTypesUtil#getExpectedTypeByParent (IDEA-CR-15590) 2016-11-11 10:23:15 +07:00
Tagir Valeev 4465e4420b TypeUtils#getMethodReturnType extracted 2016-11-10 11:48:45 +07:00
Dmitry Batkovich 0f30ce7977 migrate to matchers inspection: fix for migration of "assertFalse(collection.contains(item));" statement (IDEA-163310) 2016-11-07 16:51:18 +03:00
Dmitry Batkovich 66402ebb25 type migration: cleanup (warnings) 2016-10-17 21:54:50 +03:00
Dmitry Batkovich cd0f6ddb9d GuavaInspection cleanup 2016-10-17 20:55:31 +03:00
Dmitry Batkovich 8b124b0acd GuavaInspection cleanup (resolve yellow code) 2016-10-17 20:52:48 +03:00
Dmitry Batkovich ab70f86102 remove redundant getName-s for QuickFix inheritors (update) 2016-09-28 21:05:21 +03:00
Dmitry Batkovich 4d8ba2542a atomic type migration: handle properly statement-chains like "int i = 0; int j = i + 1;" 2016-09-27 17:14:27 +03:00
Dmitry Batkovich 12d01ec025 type migration to atomic: fix test data to satisfy new more clear migration 2016-09-23 19:53:37 +03:00
Dmitry Batkovich 23731ae9ad java convert to atomic intention: assignment conversion fix IDEA-161639 2016-09-23 15:22:26 +03:00
Dmitry Avdeev 419af8ce27 typo 2016-09-15 16:47:36 +03:00
Dmitry Batkovich fd4d971933 ConvertAtomicToLongAdderIntention check element is valid 2016-09-14 18:40:21 +03:00
Dmitry Batkovich bcffe61fbc type migration: migration to void: delete returns more accurately IDEA-159957 2016-08-30 18:18:15 +03:00
Daniil Ovchinnikov abf97d8790 cleanup: remove unnecessary 'public' 2016-08-30 14:13:33 +03:00
Dmitry Batkovich a0dcb10ff9 guava inspection: migrate Optional.fromNullable chains (IDEA-160227) 2016-08-26 15:54:25 +03:00
Dmitry Batkovich eb9caf6180 guava inspection: conversion for FluentIterable.last (IDEA-160221) 2016-08-26 09:28:56 +03:00
Dmitry Batkovich df2061219c guava inspection: add "toMultiset" to stop methods 2016-08-24 17:28:07 +03:00
Dmitry Batkovich 81729cef47 type migration: use side effect checker in type migration to void 2016-08-16 10:44:01 +03:00
Dmitry Batkovich 63e73c1fe8 type migration: to void: remove unused variables in simple cases IDEA-158196 2016-08-16 10:08:35 +03:00
Anna.Kozlova 78d1492242 explicit types to diamonds 2016-08-08 17:08:03 +02:00
Dmitry Batkovich 6af0c778f6 MigrateAssertToMatcherAssert inspection: swap actual and expected parameters to preserve proper order + fix for statically imported assertion method IDEA-159137 2016-08-05 13:32:11 +03:00
Vladimir Krivosheev ece03bb140 guava 19 2016-07-27 14:09:52 +02:00