Enhancements
- Enable
JavaTemplate
to simultaneously replace method name and argument list, while preserving select, by @sambsnyd in #1137 - GroovyParser for each loop support. by @sambsnyd in #1083
- Add NoPrimitiveWrappersForToStringOrCompareTo, RSPEC-1158 by @pway99 in #1086
- Added recipe to replace redundant string literals for RSPEC-1192. by @traceyyoshima in #1087
- Add ClasspathScanningLoader overload that inspects entire provided classloader by @kmclarnon in #1100
- implement ChangeStaticFieldToMethod by @csemrau in #1071
- New Recipe: AddSerialVersionUidToSerializable by @tkvangorder in #1104
- In Maven dependency management: Enable comparing versions with more-than-3 semver groups by @aegershman in #1098
- Add JavaProvenance to maven models in MavenProjectParser. by @traceyyoshima in #1126
- Adding recipe to find types by package by @pway99 in #1127
- RawMaven doesn't need to contain parsed Xml.Document. by @jkschneider #1119
- Added ChangeDependencyGroupId and ChangeDependencyArtifactId recipe for Gradle, by @sambsnyd #1117
- Add TypeUtils.isAnOverride() to check whether or not a method overrides a superclass or interface method, by @sambsnyd #1110
- Support globbing by groupId and artifactId in all dependency management recipes, by @jkschneider #1108
- Preserve the lineage of recipes that made a change to a source file, by @jkschneider #1099
- Support latest.patch to upgrade to the latest patch release of whatever version currently on, by @jkschneider #1095
Fixes
- Replace grave accent by a real apostrophe in recipe by @Postremus in #1113
- ChangePropertyKey to handle path expansion by one [#1114] by @aegershman in #1115
- Fix prefix formatting on IsEmptyCallOnCollections by @aegershman in #1118
- Fixing scope detection and a NPE in AddDependency by @tkvangorder in #1121
- In UnnecessaryThrows, use TypeUtils::isAnOverride to detected overridden methods by @murdos in #1122
- Fixup BlockStatementTemplateGenerator JavaTemplate lambda stubs by @aegershman in #1123
- Fix
HiddenField
renames constructor and setter parameter names #1129 by @aegershman in #1131 - ShiftLeftFormat for YAML should only shift if there is enough whitespace by @aegershman in #1132
- RemoveUnusedImports handles Parameterized types by @pway99 in #1139
- RemoveUnusedPrivateMethods now wont make any changes when there are methods invocations missing type information, to prevent making erroneous to sources that had problems parsing, by @sambsnyd c1e3485
- When applying Maven repository mirrors snapshot and release policies should also be updated, by @sambsnyd #1116
- When no line ending style is specified, use the most prevelant line endings rather than the system default, by @sambsnyd #1105
- ShiftFormatLeftVisitor throws index out of bounds and lists are not shifted left. by @traceyyoshima #1103
- JavaTemplate replacement of J.MethodInvocation does not have local variable context by @jkschneider #1092
- Warning about failed conversion when javadoc is invalid, by @traceyyoshima #1089
- AddImport should not add an import for any class in java.lang, by @tkvangorder #1088
- Maven parsing fails for managed dependency entries without version tag, by @jkschneider #1084
- PrimitiveWrapperClassConstructorToValueOf does not handle double parameters. by @pway99 #1138
New Contributors
- @kmclarnon made their first contribution in #1100
- @csemrau made their first contribution in #1071
- @Postremus made their first contribution in #1113
Full Changelog: v7.15.0...v7.16.0