Commit Graph

9 Commits

Author SHA1 Message Date
Tagir Valeev
7e1064ea3c [java-intentions] More preview tests; minor fixes
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
2022-07-29 17:55:13 +00:00
Louis Vignier
170c838207 [java] Update inspection descriptions
GitOrigin-RevId: 1c55fac4ca08678e76aee02962ddf12153dd51cd
2021-03-16 14:56:20 +00:00
Tagir Valeev
acffc2bef9 PossibleHeapPollutionVarargsInspection: behavior changed according to new proposal:
1. Warn on compact/canonical constructor (and annotate it) when present
2. Create compact constructor and annotate it if not present
Review ID: IDEA-CR-56682

GitOrigin-RevId: 9ace593c6ae32490dd37f684054a2e17d93e81a8
2020-01-03 12:03:57 +00:00
Tagir Valeev
755c4647e2 PossibleHeapPollutionVarargs: do not warn on compact constructor; do not warn on record if canonical constructor is present
Review ID: IDEA-CR-56682

GitOrigin-RevId: cdd1ee44e8679a374ff495d852a22c9e612149b8
2019-12-28 06:40:55 +00:00
Tagir Valeev
2c22ee32a7 IDEA-229320 Heap pollution warning for records
GitOrigin-RevId: 1e870db7c171c02af5d01c74ca631ab2dafe43ef
2019-12-17 11:02:18 +00:00
Yaroslav Lepenkin
ecf06ab80c Alignment on "public, static, void, <T>, throws" replaced with none indent.
Previously alignment were created for mostly every element of method/class declaration
|public |void |run() {
}

Therefore, when posprocess reformat is used in reformat context mode on "run" rename will be reformatted whole method declaration starting with public, which sometimes can be not usefull
2015-07-07 17:24:06 +03:00
anna
63bb62c7fa heap pollution:check if possible to make final (IDEA-65920) 2011-03-14 17:02:11 +01:00
anna
0f9fced33c warn about possible heap pollution: annotates as SafeVarargs for final/static methods only (to be improved) 2011-02-17 16:53:04 +01:00
anna
04d3758e69 @SafeVarargs inspection: find all methods which can be annotated as 2011-02-16 09:48:36 +01:00