author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
478,630
11.10.2022 18:55:47
25,200
52040603f61d7340b17cc47ce00e9a81b3e2e687
FindMissingTypes now also detects missing types in J.NewClass.
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/FindMissingTypesTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/FindMissingTypesTest.kt", "diff": "* See the License for the specific language governing permissions and\n* limit...
Java
Apache License 2.0
openrewrite/rewrite
FindMissingTypes now also detects missing types in J.NewClass. #2299
478,619
12.10.2022 09:28:47
25,200
33a5e12562293293c9d6414150aa69e720f3dd4b
TypeSignatureBuilder tests must use unrestricted classloader
[ { "change_type": "MODIFY", "old_path": "rewrite-java-11/src/main/java/org/openrewrite/java/Java11Parser.java", "new_path": "rewrite-java-11/src/main/java/org/openrewrite/java/Java11Parser.java", "diff": "package org.openrewrite.java;\nimport org.openrewrite.ExecutionContext;\n-import org.openrewrite...
Java
Apache License 2.0
openrewrite/rewrite
TypeSignatureBuilder tests must use unrestricted classloader (#2300)
478,636
12.10.2022 16:00:07
25,200
fc4ac079d16be375b550748c5a6d13cb1e409031
re-enable ReplaceLambdaWithMethodReference in common-static-analysis.
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/resources/META-INF/rewrite/static-analysis-cleanup.yml", "new_path": "rewrite-java/src/main/resources/META-INF/rewrite/static-analysis-cleanup.yml", "diff": "@@ -67,7 +67,7 @@ recipeList:\n- org.openrewrite.java.cleanup.RenameLocalVariabl...
Java
Apache License 2.0
openrewrite/rewrite
re-enable ReplaceLambdaWithMethodReference in common-static-analysis.
478,605
12.10.2022 16:58:41
25,200
8aa630e7cd7856c68f95e181233a3e976d7eea1d
Fix parsing prefixes of CDATA in XmlParserVisitor. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-xml/src/main/java/org/openrewrite/xml/internal/XmlParserVisitor.java", "new_path": "rewrite-xml/src/main/java/org/openrewrite/xml/internal/XmlParserVisitor.java", "diff": "@@ -101,13 +101,11 @@ public Xml visitMisc(XMLParser.MiscContext ctx) {\n@Overri...
Java
Apache License 2.0
openrewrite/rewrite
Fix parsing prefixes of CDATA in XmlParserVisitor. fixes #2290
478,605
12.10.2022 17:37:28
25,200
804125c35a6aa997df25d623892f6c3a73836790
Generate valid characters for inputs with trailing CRLF in StringUtils#trimIndentPreserveCRLF. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-core/src/test/kotlin/org/openrewrite/internal/StringUtilsTest.kt", "new_path": "rewrite-core/src/test/kotlin/org/openrewrite/internal/StringUtilsTest.kt", "diff": "@@ -17,6 +17,7 @@ package org.openrewrite.internal\nimport org.assertj.core.api.Assertio...
Java
Apache License 2.0
openrewrite/rewrite
Generate valid characters for inputs with trailing CRLF in StringUtils#trimIndentPreserveCRLF. fixes #2268
478,630
12.10.2022 20:51:57
25,200
9d633ad72fdb9557e9c2b9fe103e0496c1be84fa
Fix Visitors changes are not applied due to diff miscalculation on specific AST properties containing circular references
[ { "change_type": "MODIFY", "old_path": "rewrite-core/src/main/java/org/openrewrite/TreeVisitor.java", "new_path": "rewrite-core/src/main/java/org/openrewrite/TreeVisitor.java", "diff": "*/\npackage org.openrewrite;\n+import de.danielbechler.diff.ObjectDiffer;\nimport de.danielbechler.diff.ObjectDiff...
Java
Apache License 2.0
openrewrite/rewrite
Fix #2302, Visitors changes are not applied due to diff miscalculation on specific AST properties containing circular references
478,616
13.10.2022 09:00:06
25,200
51bb0918b0ad01b2b5e9b956df9c682bf6d84f4f
Update BlockStatementTemplateGenerator to handle enums having anonymous class initializers. (fixes:
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/JavaTemplateTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/JavaTemplateTest.kt", "diff": "@@ -2522,4 +2522,62 @@ interface JavaTemplateTest : RewriteTest, JavaRecipeTest {\n}\n...
Java
Apache License 2.0
openrewrite/rewrite
Update BlockStatementTemplateGenerator to handle enums having anonymous class initializers. (fixes: #2223) (#2303)
478,619
13.10.2022 13:43:15
25,200
ab857250bd7a562d0c18ad313f206a7273320104
Pom downloader should respect release/snapshot flags
[ { "change_type": "MODIFY", "old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/internal/MavenPomDownloader.java", "new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/internal/MavenPomDownloader.java", "diff": "@@ -405,6 +405,16 @@ public Pom download(GroupArtifactVersion gav,\n...
Java
Apache License 2.0
openrewrite/rewrite
Pom downloader should respect release/snapshot flags
478,605
13.10.2022 15:53:47
25,200
8171f8669a1683db74199b4b9b9cf308a73076f5
Added tests for issue 2118.
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/JavaParserTypeMappingTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/JavaParserTypeMappingTest.kt", "diff": "@@ -17,10 +17,12 @@ package org.openrewrite.java\nimport org.assertj...
Java
Apache License 2.0
openrewrite/rewrite
Added tests for issue 2118.
478,630
17.10.2022 14:19:50
25,200
1259e7a8109ae434cd593ce14610bdfa794d30d1
Fix FindDeprecatedMethods to accept empty, as well as null, method patterns
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/search/FindDeprecatedMethodsTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/search/FindDeprecatedMethodsTest.kt", "diff": "* See the License for the specific language governing ...
Java
Apache License 2.0
openrewrite/rewrite
Fix FindDeprecatedMethods to accept empty, as well as null, method patterns
478,630
17.10.2022 16:33:05
25,200
76a1d4bdc84dd0aecf906640570ce28c57eb42e7
Guard against possible NPE in Autodetection of import layouts
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/java/org/openrewrite/java/style/Autodetect.java", "new_path": "rewrite-java/src/main/java/org/openrewrite/java/style/Autodetect.java", "diff": "@@ -742,7 +742,7 @@ private String longestCommonPrefix(String pkg, @Nullable String lcp) {\nst...
Java
Apache License 2.0
openrewrite/rewrite
Guard against possible NPE in Autodetection of import layouts
478,605
18.10.2022 08:36:02
25,200
1d7ff0343e89fd3df799fcd634629514413ed67f
Added type to variable signature in signature builders. Fixes type mapping issue when declared variable names are reused.
[ { "change_type": "MODIFY", "old_path": "rewrite-java-11/src/main/java/org/openrewrite/java/isolated/ReloadableJava11TypeSignatureBuilder.java", "new_path": "rewrite-java-11/src/main/java/org/openrewrite/java/isolated/ReloadableJava11TypeSignatureBuilder.java", "diff": "@@ -266,6 +266,7 @@ public Str...
Java
Apache License 2.0
openrewrite/rewrite
Added type to variable signature in signature builders. Fixes type mapping issue when declared variable names are reused.
478,665
18.10.2022 22:14:15
25,200
082be1cdcbc6684e98c2f889cc86b52c9a871d84
Skip backreferences when autodetecting styles
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/java/org/openrewrite/java/style/Autodetect.java", "new_path": "rewrite-java/src/main/java/org/openrewrite/java/style/Autodetect.java", "diff": "@@ -725,6 +725,7 @@ private String longestCommonPrefix(String pkg, @Nullable String lcp) {\nfo...
Java
Apache License 2.0
openrewrite/rewrite
Skip backreferences when autodetecting styles (#2316)
478,630
19.10.2022 00:26:32
25,200
4edb715941b0f1418d8196d26ee200239f53eb9b
Fix Case.withPattern() modifying expressions when it should only modify pattern. These fields are disjoint, it should always be one or the other appearing in a J.Case, never both
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/java/org/openrewrite/java/style/Autodetect.java", "new_path": "rewrite-java/src/main/java/org/openrewrite/java/style/Autodetect.java", "diff": "@@ -725,7 +725,6 @@ private String longestCommonPrefix(String pkg, @Nullable String lcp) {\nfo...
Java
Apache License 2.0
openrewrite/rewrite
Fix Case.withPattern() modifying expressions when it should only modify pattern. These fields are disjoint, it should always be one or the other appearing in a J.Case, never both
478,642
19.10.2022 11:06:54
14,400
1a3ac61318930488cab6ab62b93fd0013ccfac16
Expanded fix for edge case with code obfuscaters and inner classes
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/java/org/openrewrite/java/marker/JavaSourceSet.java", "new_path": "rewrite-java/src/main/java/org/openrewrite/java/marker/JavaSourceSet.java", "diff": "@@ -212,11 +212,14 @@ private static String declarableFullyQualifiedName(ClassInfo cla...
Java
Apache License 2.0
openrewrite/rewrite
Expanded fix for edge case with code obfuscaters and inner classes (#2002) (#2317)
478,630
19.10.2022 13:10:28
25,200
8c2ce94c7137e734764040d18f85e7f9574082d1
Simplify logic which detects whether or not recipe has made a change
[ { "change_type": "MODIFY", "old_path": "rewrite-core/src/main/java/org/openrewrite/RecipeScheduler.java", "new_path": "rewrite-core/src/main/java/org/openrewrite/RecipeScheduler.java", "diff": "@@ -121,25 +121,13 @@ default RecipeRun scheduleRun(Recipe recipe,\ncontinue;\n}\n- boolean isChanged = !o...
Java
Apache License 2.0
openrewrite/rewrite
Simplify logic which detects whether or not recipe has made a change
478,618
16.10.2022 20:42:42
-7,200
352efa79f35dcde0acb06300d6311f52cdacfbb4
Add RemoveCallsToSystemGc recipe (fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/JavaVisitorCompatibilityKit.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/JavaVisitorCompatibilityKit.kt", "diff": "@@ -409,6 +409,9 @@ abstract class JavaVisitorCompatibilityKit {...
Java
Apache License 2.0
openrewrite/rewrite
Add RemoveCallsToSystemGc recipe (fixes #1664)
478,636
19.10.2022 15:35:08
25,200
535e34739663e543ce507b11cf013af19f54f473
Add RemoveCallsToSystemGc to org.openrewrite.java.cleanup.JavaApiBestPractices
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/resources/META-INF/rewrite/java-best-practices.yml", "new_path": "rewrite-java/src/main/resources/META-INF/rewrite/java-best-practices.yml", "diff": "@@ -20,6 +20,7 @@ displayName: Java API best practices\ndescription: Use the Java standa...
Java
Apache License 2.0
openrewrite/rewrite
Add RemoveCallsToSystemGc to org.openrewrite.java.cleanup.JavaApiBestPractices
478,619
19.10.2022 16:34:55
25,200
6d78b88a3be2994ce389861e9fde736e756176f2
Fix parsing issue when annotation is immediately followed by comment. Fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java-11/src/main/java/org/openrewrite/java/isolated/ReloadableJava11ParserVisitor.java", "new_path": "rewrite-java-11/src/main/java/org/openrewrite/java/isolated/ReloadableJava11ParserVisitor.java", "diff": "@@ -1839,7 +1839,7 @@ private ReloadableJava...
Java
Apache License 2.0
openrewrite/rewrite
Fix parsing issue when annotation is immediately followed by comment. Fixes #2313 (#2322)
478,619
19.10.2022 19:23:08
25,200
b1c0ab0bf5b8b19fd79b576fffbc82df28d21672
Case pattern marshaled into Case Expressions
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/java/org/openrewrite/java/JavaVisitor.java", "new_path": "rewrite-java/src/main/java/org/openrewrite/java/JavaVisitor.java", "diff": "@@ -393,11 +393,7 @@ public J visitCase(J.Case caze, P p) {\n} else {\nc = (J.Case) temp;\n}\n- if (c.ge...
Java
Apache License 2.0
openrewrite/rewrite
Case pattern marshaled into Case Expressions (#2323) Co-authored-by: Tyler Van Gorder <tkvangorder@users.noreply.github.com>
478,616
20.10.2022 14:27:34
25,200
63b7b972e7fa673fa1557bbdd4ecf46e577eda79
Fix the JavaTemplate AnnotationTemplateGenerator so that MethodDeclaration and VariableDeclaration annotations are templated correctly.
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/JavaTemplateTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/JavaTemplateTest.kt", "diff": "@@ -24,6 +24,7 @@ import org.junit.jupiter.api.Disabled\nimport org.junit.jupiter.api....
Java
Apache License 2.0
openrewrite/rewrite
Fix the JavaTemplate AnnotationTemplateGenerator so that MethodDeclaration and VariableDeclaration annotations are templated correctly. (#2325)
478,626
20.10.2022 17:09:41
18,000
c3d6f8dfd05deb2bdc5b61058c08a8528c29c9ca
Break apart recipe and take advantage of new markup syntax
[ { "change_type": "ADD", "old_path": null, "new_path": "rewrite-core/src/main/java/org/openrewrite/FindParseFailures.java", "diff": "+/*\n+ * Copyright 2022 the original author or authors.\n+ * <p>\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file e...
Java
Apache License 2.0
openrewrite/rewrite
Break apart recipe and take advantage of new markup syntax (#2326)
478,605
21.10.2022 10:19:33
25,200
11401cb233a3d216788af619b7ffcf00d010b07f
Added normalizeName to VariableNameUtils. Added variable name normalization to ReplaceDuplicateStringLiterals. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/java/org/openrewrite/java/VariableNameUtils.java", "new_path": "rewrite-java/src/main/java/org/openrewrite/java/VariableNameUtils.java", "diff": "import org.openrewrite.internal.lang.Nullable;\nimport org.openrewrite.java.tree.*;\n+import...
Java
Apache License 2.0
openrewrite/rewrite
Added normalizeName to VariableNameUtils. Added variable name normalization to ReplaceDuplicateStringLiterals. fixes #2329
478,605
21.10.2022 11:17:14
25,200
f4279b6f24f6c17125a0496a5fab14aa5861b205
Insert the replaced string literal after the J.EnumValueSet in ReplaceDuplicateStringLiterals. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/ReplaceDuplicateStringLiteralsTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/ReplaceDuplicateStringLiteralsTest.kt", "diff": "@@ -437,4 +437,32 @@ interface Rep...
Java
Apache License 2.0
openrewrite/rewrite
Insert the replaced string literal after the J.EnumValueSet in ReplaceDuplicateStringLiterals. fixes #2330
478,605
21.10.2022 15:38:42
25,200
330f8932fc437064aa239ca45109668553a544f4
Replace duplicate String literals of enums in ReplaceDuplicateStringLiterals without JavaTemplate.
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/ReplaceDuplicateStringLiteralsTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/ReplaceDuplicateStringLiteralsTest.kt", "diff": "*/\npackage org.openrewrite.java.c...
Java
Apache License 2.0
openrewrite/rewrite
Replace duplicate String literals of enums in ReplaceDuplicateStringLiterals without JavaTemplate.
478,618
20.10.2022 20:04:35
-7,200
2f7ed270ef11187fd031acf7438d92241733f6ed
ReplaceThreadRunWithThreadStart ReplaceThreadRunWithThreadStart changed to declarative recipe, delete ChangeMethodInvocation since it is already covered by ChangeMethodName
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/JavaVisitorCompatibilityKit.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/JavaVisitorCompatibilityKit.kt", "diff": "@@ -481,6 +481,9 @@ abstract class JavaVisitorCompatibilityKit {...
Java
Apache License 2.0
openrewrite/rewrite
ReplaceThreadRunWithThreadStart ReplaceThreadRunWithThreadStart changed to declarative recipe, delete ChangeMethodInvocation since it is already covered by ChangeMethodName
478,618
22.10.2022 14:04:09
-7,200
bc3339dd0d4fd650b0f19956f38ab34b83cbcdf5
Handling not only literal Character arguments to new StringBuilder Change NewStringBuilderBufferWithCharArgument to use JavaTemplate (and String.valueOf(..))
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/NewStringBuilderBufferWithCharArgumentTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/NewStringBuilderBufferWithCharArgumentTest.kt", "diff": "@@ -41,12 +41,16 @...
Java
Apache License 2.0
openrewrite/rewrite
Handling not only literal Character arguments to new StringBuilder Change NewStringBuilderBufferWithCharArgument to use JavaTemplate (and String.valueOf(..))
478,636
24.10.2022 15:01:08
25,200
a863a52406d429a0da10731f3f6a6b2e498b09ab
Fix ChangePackage preventing a package being renamed to one having a single segment. (fixes:
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/ChangePackageTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/ChangePackageTest.kt", "diff": "@@ -971,6 +971,43 @@ interface ChangePackageTest: JavaRecipeTest, RewriteTest {\n)\n...
Java
Apache License 2.0
openrewrite/rewrite
Fix ChangePackage preventing a package being renamed to one having a single segment. (fixes: #2328)
478,605
24.10.2022 16:07:36
25,200
fbcdc39bec5420f78544b4c3085f9284f6227304
Fix formatting on classes with leading annotations updated by FinalClassVisitor. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/FinalClassTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/FinalClassTest.kt", "diff": "@@ -112,4 +112,27 @@ interface FinalClassTest : JavaRecipeTest {\n}\n\"\"\...
Java
Apache License 2.0
openrewrite/rewrite
Fix formatting on classes with leading annotations updated by FinalClassVisitor. fixes #2339
478,619
25.10.2022 12:55:16
25,200
862a0162f0d540bcfe980b75db677627e9f714d5
Small cleanup to classloaders.
[ { "change_type": "MODIFY", "old_path": "rewrite-java-11/src/main/java/org/openrewrite/java/Java11UnrestrictedClassLoader.java", "new_path": "rewrite-java-11/src/main/java/org/openrewrite/java/Java11UnrestrictedClassLoader.java", "diff": "@@ -69,7 +69,7 @@ public Java11UnrestrictedClassLoader(ClassLo...
Java
Apache License 2.0
openrewrite/rewrite
Small cleanup to classloaders.
478,605
25.10.2022 13:08:07
25,200
114dfe3aac4497034d2d5e69baca56e5b371e0df
Added recipe RemoveUnusedPrivateFields. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/JavaVisitorCompatibilityKit.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/JavaVisitorCompatibilityKit.kt", "diff": "@@ -439,6 +439,9 @@ abstract class JavaVisitorCompatibilityKit {...
Java
Apache License 2.0
openrewrite/rewrite
Added recipe RemoveUnusedPrivateFields. fixes #2343
478,605
25.10.2022 16:34:39
25,200
d4a33c809a3a6c796e00449e110c196f20e08439
Polish. Fix detection of variable uses in the class scope in RemoveUnusedPrivateFields.
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedPrivateFieldsTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedPrivateFieldsTest.kt", "diff": "@@ -76,6 +76,19 @@ interface RemoveUnusedPri...
Java
Apache License 2.0
openrewrite/rewrite
Polish. Fix detection of variable uses in the class scope in RemoveUnusedPrivateFields.
478,630
24.10.2022 14:52:09
25,200
d064c560d2fbe89159313a75fc74dc89c3acc1ce
Fix inaccurate cursor being used from SourceFile.printAllTrimmed()
[ { "change_type": "MODIFY", "old_path": "rewrite-core/src/main/java/org/openrewrite/SourceFile.java", "new_path": "rewrite-core/src/main/java/org/openrewrite/SourceFile.java", "diff": "@@ -79,7 +79,7 @@ default String printAll() {\n}\ndefault <P> String printAllTrimmed(P p) {\n- return printTrimmed(p...
Java
Apache License 2.0
openrewrite/rewrite
Fix inaccurate cursor being used from SourceFile.printAllTrimmed()
478,630
24.10.2022 14:53:47
25,200
7064cc72a5efb4b8c958b71a7a1d5f121adda358
Fix missing semicolon when templating variable declarations
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/java/org/openrewrite/java/internal/template/BlockStatementTemplateGenerator.java", "new_path": "rewrite-java/src/main/java/org/openrewrite/java/internal/template/BlockStatementTemplateGenerator.java", "diff": "@@ -319,6 +319,7 @@ private ...
Java
Apache License 2.0
openrewrite/rewrite
Fix missing semicolon when templating variable declarations
478,630
25.10.2022 17:59:15
25,200
1c1f11da8701241422d30aaf3d808fb28380cb47
Fix various instances of providing the current cursor to visit() when it is actually the parent cursor which is required
[ { "change_type": "MODIFY", "old_path": "rewrite-core/src/main/java/org/openrewrite/TreeVisitor.java", "new_path": "rewrite-core/src/main/java/org/openrewrite/TreeVisitor.java", "diff": "import org.openrewrite.internal.lang.Nullable;\nimport org.openrewrite.marker.Marker;\nimport org.openrewrite.mark...
Java
Apache License 2.0
openrewrite/rewrite
Fix various instances of providing the current cursor to visit() when it is actually the parent cursor which is required
478,605
26.10.2022 14:25:52
25,200
540c1a1dc5918a960a428dc768f864aa9b511978
Polish. Updated HiddenFieldTest to use RewriteTest. Added RenameJavaDocParamName. Updated HiddenFieldVisitor to call RenameJavaDocParamName. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/JavaVisitorCompatibilityKit.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/JavaVisitorCompatibilityKit.kt", "diff": "@@ -445,6 +445,9 @@ abstract class JavaVisitorCompatibilityKit {...
Java
Apache License 2.0
openrewrite/rewrite
Polish. Updated HiddenFieldTest to use RewriteTest. (#2366) Added RenameJavaDocParamName. Updated HiddenFieldVisitor to call RenameJavaDocParamName. fixes #2298
478,605
26.10.2022 15:10:14
25,200
ba1feed2f899c2050d8cb170702686cec26b0741
Added auto-detection of spaces within method calls in AutoDetect for SpacesStyle. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/style/AutodetectTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/style/AutodetectTest.kt", "diff": "* See the License for the specific language governing permissions and\n* limit...
Java
Apache License 2.0
openrewrite/rewrite
Added auto-detection of spaces within method calls in AutoDetect for SpacesStyle. fixes #2098
478,605
26.10.2022 15:53:12
25,200
494cd74aa1c10dd07d21e2fb979a857195021ba8
Fix conversion of multiple variable declarations in anonymous classes. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java-11/src/main/java/org/openrewrite/java/isolated/ReloadableJava11ParserVisitor.java", "new_path": "rewrite-java-11/src/main/java/org/openrewrite/java/isolated/ReloadableJava11ParserVisitor.java", "diff": "@@ -1065,7 +1065,7 @@ public J visitNewClass...
Java
Apache License 2.0
openrewrite/rewrite
Fix conversion of multiple variable declarations in anonymous classes. fixes #2367
478,605
26.10.2022 18:03:56
25,200
acf5addd1fbe85af8f1decea280282384e2ae430
Sync JavaDocVisitors to generate LineBreaks in the same places.
[ { "change_type": "MODIFY", "old_path": "rewrite-java-11/src/main/java/org/openrewrite/java/isolated/ReloadableJava11JavadocVisitor.java", "new_path": "rewrite-java-11/src/main/java/org/openrewrite/java/isolated/ReloadableJava11JavadocVisitor.java", "diff": "@@ -333,7 +333,7 @@ public Tree visitDocCo...
Java
Apache License 2.0
openrewrite/rewrite
Sync JavaDocVisitors to generate LineBreaks in the same places.
478,616
27.10.2022 11:53:03
25,200
f63a6b39e9928e8809d36525acf4008c5fd49245
Add UpdateOwaspSuppressionDate recipe.
[ { "change_type": "ADD", "old_path": null, "new_path": "rewrite-xml/src/main/java/org/openrewrite/xml/security/UpdateOwaspSuppressionDate.java", "diff": "+/*\n+ * Copyright 2022 the original author or authors.\n+ * <p>\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you ma...
Java
Apache License 2.0
openrewrite/rewrite
Add UpdateOwaspSuppressionDate recipe. (#2369)
478,605
27.10.2022 11:54:25
25,200
550138f539f6d8078bf9d1cfd76b301a373feeba
Added RemoveEmptyJavaDocParameters recipe. Polished RenameJavaDocParamNameVisitor. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/JavaVisitorCompatibilityKit.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/JavaVisitorCompatibilityKit.kt", "diff": "@@ -412,6 +412,9 @@ abstract class JavaVisitorCompatibilityKit {...
Java
Apache License 2.0
openrewrite/rewrite
Added RemoveEmptyJavaDocParameters recipe. Polished RenameJavaDocParamNameVisitor. fixes #2246
478,619
27.10.2022 11:59:12
25,200
6c8a2bd751ab7b6f29030f08d2f7e9495c65e1e1
Add dynamic version support to ChangeManagedDependencyGroupIdAndArtifactId. Fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/ChangeManagedDependencyGroupIdAndArtifactId.java", "new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/ChangeManagedDependencyGroupIdAndArtifactId.java", "diff": "*/\npackage org.openrewrite.maven;\n...
Java
Apache License 2.0
openrewrite/rewrite
Add dynamic version support to ChangeManagedDependencyGroupIdAndArtifactId. Fixes #2365
478,665
27.10.2022 13:09:06
25,200
f534081ce45c190019152053467edbe977167d80
maven repo normalization - restore fallback to http url
[ { "change_type": "MODIFY", "old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/internal/MavenPomDownloader.java", "new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/internal/MavenPomDownloader.java", "diff": "@@ -596,12 +596,15 @@ protected MavenRepository normalizeRepository(...
Java
Apache License 2.0
openrewrite/rewrite
maven repo normalization - restore fallback to http url (#2370)
478,636
27.10.2022 13:52:33
25,200
9a6336a595ffc71132d2160756c1dc0b70bac6bf
Refactor DateBoundSuppressions to AddOwaspDateBoundSuppressions
[ { "change_type": "RENAME", "old_path": "rewrite-xml/src/main/java/org/openrewrite/xml/security/DateBoundSuppressions.java", "new_path": "rewrite-xml/src/main/java/org/openrewrite/xml/security/AddOwaspDateBoundSuppressions.java", "diff": "@Value\n@EqualsAndHashCode(callSuper = true)\n-public class Da...
Java
Apache License 2.0
openrewrite/rewrite
Refactor DateBoundSuppressions to AddOwaspDateBoundSuppressions
478,619
27.10.2022 14:55:45
25,200
21ac9a088b2df601f98f85fbce17198b304e801e
ChangeManagedDependencyGroupIdAndArtifactId should not follow property place holders. Fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/ChangeManagedDependencyGroupIdAndArtifactId.java", "new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/ChangeManagedDependencyGroupIdAndArtifactId.java", "diff": "@Nullable\nString versionPattern;\n-...
Java
Apache License 2.0
openrewrite/rewrite
ChangeManagedDependencyGroupIdAndArtifactId should not follow property place holders. Fixes #2365
478,620
27.10.2022 18:04:01
18,000
7173ce7b1d0fdea4d132323f46544320d3a4ba4e
Add public qualifier to HCL TabsAndIndentsVisitor I hit an issue trying to use this class to create a custom formatter different from default. I'm guessing this was unintentional. No reason to make this class package private.
[ { "change_type": "MODIFY", "old_path": "rewrite-hcl/src/main/java/org/openrewrite/hcl/format/TabsAndIndentsVisitor.java", "new_path": "rewrite-hcl/src/main/java/org/openrewrite/hcl/format/TabsAndIndentsVisitor.java", "diff": "import java.util.List;\nimport java.util.Optional;\n-class TabsAndIndentsV...
Java
Apache License 2.0
openrewrite/rewrite
Add public qualifier to HCL TabsAndIndentsVisitor (#2371) I hit an issue trying to use this class to create a custom formatter different from default. I'm guessing this was unintentional. No reason to make this class package private.
478,636
27.10.2022 16:08:53
25,200
c5a6e5b0213a59bbe2bf3ebfed580fa433618aa9
Fix UpdateOwaspSuppressionDateTest
[ { "change_type": "MODIFY", "old_path": "rewrite-xml/src/test/java/org/openrewrite/xml/security/UpdateOwaspSuppressionDateTest.java", "new_path": "rewrite-xml/src/test/java/org/openrewrite/xml/security/UpdateOwaspSuppressionDateTest.java", "diff": "@@ -107,6 +107,6 @@ void defaultIs30DaysInFuture() {...
Java
Apache License 2.0
openrewrite/rewrite
Fix UpdateOwaspSuppressionDateTest
478,643
27.10.2022 21:35:38
14,400
d14efa16cd343ca87b3fc8edfff9ecfbd112d003
Add Maven Repository recipe
[ { "change_type": "ADD", "old_path": null, "new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/AddRepository.java", "diff": "+/*\n+ * Copyright 2022 the original author or authors.\n+ * <p>\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this fil...
Java
Apache License 2.0
openrewrite/rewrite
Add Maven Repository recipe (#2368)
478,636
28.10.2022 09:19:06
25,200
68eb4750d0fbc6c9cb307fbf2373d8b625a3aa0e
Rename RemoveSuppressions to RemoveOwaspSuppressions
[ { "change_type": "RENAME", "old_path": "rewrite-xml/src/main/java/org/openrewrite/xml/security/RemoveSuppressions.java", "new_path": "rewrite-xml/src/main/java/org/openrewrite/xml/security/RemoveOwaspSuppressions.java", "diff": "@Value\n@EqualsAndHashCode(callSuper = true)\n-public class RemoveSuppr...
Java
Apache License 2.0
openrewrite/rewrite
Rename RemoveSuppressions to RemoveOwaspSuppressions
478,636
28.10.2022 10:35:23
25,200
f5ae987612f8fdb96a9b54a360f40661d3f625ae
Allow `UpdateOwaspSuppressionDate` to modify multiple suppression bounds at once by change the `cve` param to a list.
[ { "change_type": "MODIFY", "old_path": "rewrite-xml/src/main/java/org/openrewrite/xml/security/UpdateOwaspSuppressionDate.java", "new_path": "rewrite-xml/src/main/java/org/openrewrite/xml/security/UpdateOwaspSuppressionDate.java", "diff": "import lombok.Value;\nimport org.openrewrite.*;\nimport org....
Java
Apache License 2.0
openrewrite/rewrite
Allow `UpdateOwaspSuppressionDate` to modify multiple suppression bounds at once by change the `cve` param to a list.
478,619
29.10.2022 13:50:19
25,200
4624834f9ad4e408c283f9d0f0db4bdfea556ccf
`ChangeDependencyClassifier` should allow glob expressions
[ { "change_type": "MODIFY", "old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/ChangeDependencyClassifier.java", "new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/ChangeDependencyClassifier.java", "diff": "import org.openrewrite.ExecutionContext;\nimport org.openrewrite.Optio...
Java
Apache License 2.0
openrewrite/rewrite
`ChangeDependencyClassifier` should allow glob expressions
478,636
31.10.2022 08:45:26
25,200
f769916eb4e2011a4bc5628e2a5a5f7e95a4616c
Update AvoidBoxedBooleanExpressions to also transform `Unary.NOT` expressions.
[ { "change_type": "MODIFY", "old_path": "rewrite-java-17/src/test/java/org/openrewrite/java/cleanup/AvoidBoxedBooleanExpressionsTest.java", "new_path": "rewrite-java-17/src/test/java/org/openrewrite/java/cleanup/AvoidBoxedBooleanExpressionsTest.java", "diff": "@@ -59,4 +59,40 @@ int test() {\n)\n);\n...
Java
Apache License 2.0
openrewrite/rewrite
Update AvoidBoxedBooleanExpressions to also transform `Unary.NOT` expressions.
478,630
02.11.2022 14:57:10
25,200
b15258112c2cb4f31b80c02635885aade0ec1126
Fix a few more instances of current element cursor being used where parent element cursor is expected
[ { "change_type": "MODIFY", "old_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/ActivateStyle.java", "new_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/ActivateStyle.java", "diff": "@@ -156,7 +156,7 @@ public J visitMethodInvocation(J.MethodInvocation method, ExecutionConte...
Java
Apache License 2.0
openrewrite/rewrite
Fix a few more instances of current element cursor being used where parent element cursor is expected
478,619
02.11.2022 16:14:53
25,200
d63ecbba420f843330c3e32afa005476fa728ecd
UpgradePluginVersion should use tag values when downloading plugin metadata
[ { "change_type": "MODIFY", "old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/UpgradePluginVersion.java", "new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/UpgradePluginVersion.java", "diff": "@@ -116,7 +116,15 @@ public Xml visitTag(Xml.Tag tag, ExecutionContext ctx) {\nif ...
Java
Apache License 2.0
openrewrite/rewrite
UpgradePluginVersion should use tag values when downloading plugin metadata
478,630
02.11.2022 16:31:57
25,200
6dfffc2360969e8d3154c8c6e1629aef3543abb6
Fix type attribution for settings.gradle parsing
[ { "change_type": "MODIFY", "old_path": "rewrite-gradle/src/main/resources/RewriteSettings.groovy", "new_path": "rewrite-gradle/src/main/resources/RewriteSettings.groovy", "diff": "@@ -71,12 +71,9 @@ import com.gradle.scan.plugin.*\nimport com.gradle.enterprise.gradleplugin.GradleEnterpriseExtension\...
Java
Apache License 2.0
openrewrite/rewrite
Fix type attribution for settings.gradle parsing
478,616
02.11.2022 18:10:05
25,200
643bb495f4b00451371f46b117bfe6e2f36bed29
Add FixStringFormatExpressions recipe for (fixes
[ { "change_type": "ADD", "old_path": null, "new_path": "rewrite-java-17/src/test/java/org/openrewrite/java/cleanup/FixStringFormatExpressionsTest.java", "diff": "+package org.openrewrite.java.cleanup;\n+\n+import org.junit.jupiter.api.Test;\n+import org.openrewrite.test.RecipeSpec;\n+import org.openr...
Java
Apache License 2.0
openrewrite/rewrite
Add FixStringFormatExpressions recipe for RSPEC-3457. (fixes #2372) (#2380)
478,636
02.11.2022 18:13:16
25,200
6d74d6b3406b4997933572a0ca3b452f66fcdf86
FixStringFormattedExpressions license headers
[ { "change_type": "MODIFY", "old_path": "rewrite-java-17/src/test/java/org/openrewrite/java/cleanup/FixStringFormatExpressionsTest.java", "new_path": "rewrite-java-17/src/test/java/org/openrewrite/java/cleanup/FixStringFormatExpressionsTest.java", "diff": "+/*\n+ * Copyright 2022 the original author ...
Java
Apache License 2.0
openrewrite/rewrite
FixStringFormattedExpressions license headers
478,616
03.11.2022 10:04:31
25,200
483e3112d17738ccea5926f41062a7b252970558
Add `UseListSort` recipe for replacing `Collections.sort(..)` with the `List.sort(Comparator)` implementation. (fixes
[ { "change_type": "ADD", "old_path": null, "new_path": "rewrite-java-17/src/test/java/org/openrewrite/java/cleanup/UseListSortTest.java", "diff": "+/*\n+ * Copyright 2022 the original author or authors.\n+ * <p>\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not u...
Java
Apache License 2.0
openrewrite/rewrite
Add `UseListSort` recipe for replacing `Collections.sort(..)` with the `List.sort(Comparator)` implementation. (fixes #2378) (#2382)
478,616
03.11.2022 12:56:32
25,200
cd138f99cc7fe8fc2f02d76174e6bca76139ba56
Set remove all for each remove Add UseForEachRemoveInsteadOfSetRemoveAll recipe. (fixes
[ { "change_type": "ADD", "old_path": null, "new_path": "rewrite-java-17/src/test/java/org/openrewrite/java/cleanup/UseForEachRemoveInsteadOfSetRemoveAllTest.java", "diff": "+/*\n+ * Copyright 2022 the original author or authors.\n+ * <p>\n+ * Licensed under the Apache License, Version 2.0 (the \"Lice...
Java
Apache License 2.0
openrewrite/rewrite
Set remove all for each remove (#2384) Add UseForEachRemoveInsteadOfSetRemoveAll recipe. (fixes #2379)
478,630
04.11.2022 13:04:45
25,200
e92d4a1298f55c6cd782cad97b5250cedb79a216
Cleanup CovariantEquals & test
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/CovariantEqualsTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/CovariantEqualsTest.kt", "diff": "@@ -17,18 +17,19 @@ package org.openrewrite.java.cleanup\nimport...
Java
Apache License 2.0
openrewrite/rewrite
Cleanup CovariantEquals & test
478,636
07.11.2022 14:13:49
28,800
28a0b1ab2c962e9446037160a878f927dddfd6dd
Update ChangePropertyKey to prevent PatternSyntaxExceptions by escaping all special regex characters. (fixes:
[ { "change_type": "MODIFY", "old_path": "rewrite-yaml/src/main/java/org/openrewrite/yaml/ChangePropertyKey.java", "new_path": "rewrite-yaml/src/main/java/org/openrewrite/yaml/ChangePropertyKey.java", "diff": "import org.openrewrite.yaml.tree.Yaml;\nimport java.util.*;\n+import java.util.regex.Pattern...
Java
Apache License 2.0
openrewrite/rewrite
Update ChangePropertyKey to prevent PatternSyntaxExceptions by escaping all special regex characters. (fixes: #2387)
478,642
07.11.2022 17:25:29
18,000
a74bf001090755f698dda193acb7729255fda361
Fix for edge case PatternSyntaxException in Yaml/ChangePropertyKey
[ { "change_type": "MODIFY", "old_path": "rewrite-yaml/src/main/java/org/openrewrite/yaml/ChangePropertyKey.java", "new_path": "rewrite-yaml/src/main/java/org/openrewrite/yaml/ChangePropertyKey.java", "diff": "import org.openrewrite.yaml.tree.Yaml;\nimport java.util.*;\n+import java.util.regex.Pattern...
Java
Apache License 2.0
openrewrite/rewrite
Fix for edge case PatternSyntaxException in Yaml/ChangePropertyKey (#2387) (#2388)
478,630
07.11.2022 15:14:21
28,800
6eaa22a92ec2f0b1d43e17f485dc47b20dbf822e
Fix Groovy Parser fails to parse labels, such as those used in spock-style tests
[ { "change_type": "MODIFY", "old_path": "rewrite-core/src/main/java/org/openrewrite/Recipe.java", "new_path": "rewrite-core/src/main/java/org/openrewrite/Recipe.java", "diff": "@@ -150,7 +150,7 @@ public final RecipeDescriptor getDescriptor() {\n}\n/**\n- * @return Determines if another cycle is ran ...
Java
Apache License 2.0
openrewrite/rewrite
Fix #2395, Groovy Parser fails to parse labels, such as those used in spock-style tests
478,630
07.11.2022 15:27:37
28,800
5d7c5c6d5f299c5a4f4961df28d3b401d78e3172
Fix fails to parse empty map literal
[ { "change_type": "MODIFY", "old_path": "rewrite-groovy/src/main/java/org/openrewrite/groovy/GroovyParserVisitor.java", "new_path": "rewrite-groovy/src/main/java/org/openrewrite/groovy/GroovyParserVisitor.java", "diff": "@@ -1312,8 +1312,18 @@ public void visitMapEntryExpression(MapEntryExpression ex...
Java
Apache License 2.0
openrewrite/rewrite
Fix #2071, fails to parse empty map literal
478,630
07.11.2022 15:46:03
28,800
dcc9cc51374c1d5e3e8c7c3bd856d36e18296098
Fix resolving from JCenter, add missing license headers
[ { "change_type": "MODIFY", "old_path": "build-src/build.gradle.kts", "new_path": "build-src/build.gradle.kts", "diff": "@@ -4,6 +4,7 @@ plugins {\nrepositories {\ngradlePluginPortal()\n+ mavenCentral()\n}\ndependencies {\n" }, { "change_type": "MODIFY", "old_path": "build-src/src/main/ko...
Java
Apache License 2.0
openrewrite/rewrite
Fix resolving from JCenter, add missing license headers
478,636
07.11.2022 16:37:48
28,800
4b164f310f2677d1537982f587cf65106145b024
Update `InlineVariable` according to by also in-lining variables that are immediately thrown or returned from lambdas and ignoring those that are annotated.
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/InlineVariableTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/InlineVariableTest.kt", "diff": "* See the License for the specific language governing permissions ...
Java
Apache License 2.0
openrewrite/rewrite
Update `InlineVariable` according to RSPEC-1488 by also in-lining variables that are immediately thrown or returned from lambdas and ignoring those that are annotated.
478,636
07.11.2022 17:56:39
28,800
9cb19e03854599630fc8262ed4f0b40f0e8d3a09
Fix `InlineVariable` by preserving comments from the inlined variable declaration.
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/InlineVariableTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/InlineVariableTest.kt", "diff": "* See the License for the specific language governing permissions ...
Java
Apache License 2.0
openrewrite/rewrite
Fix `InlineVariable` by preserving comments from the inlined variable declaration.
478,630
07.11.2022 18:08:27
28,800
b9b0d9c62d4ddb38bc117b2cf6ff7e28ac4c5ec5
Fix ChangeParentPom fails when wildcards are specified for groupId or artifactId
[ { "change_type": "MODIFY", "old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/ChangeParentPom.java", "new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/ChangeParentPom.java", "diff": "@@ -156,13 +156,12 @@ public Validated validate() {\nif (isParentTag()) {\nResolvedPom resol...
Java
Apache License 2.0
openrewrite/rewrite
Fix #2397, ChangeParentPom fails when wildcards are specified for groupId or artifactId
478,630
07.11.2022 21:20:43
28,800
d65dbe3584d17d57a031eba3f3bd67e8cbcdae74
Fix ReplaceDuplicateStringLiterals can add multiple copies of the same static field declaration to enum classes
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/ReplaceDuplicateStringLiterals.java", "new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/ReplaceDuplicateStringLiterals.java", "diff": "@@ -76,7 +76,7 @@ public Duration getEstimatedEffo...
Java
Apache License 2.0
openrewrite/rewrite
Fix #2399, ReplaceDuplicateStringLiterals can add multiple copies of the same static field declaration to enum classes
478,630
07.11.2022 21:21:26
28,800
ccfb12e3941d8de6f9e6d58672ac34ebb5b5c713
Fix JavaTypeMappingTest
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/java/org/openrewrite/java/JavaTypeMappingTest.java", "new_path": "rewrite-java-tck/src/main/java/org/openrewrite/java/JavaTypeMappingTest.java", "diff": "@@ -211,7 +211,7 @@ default void enumTypeB() {\n.filter(m -> m.getName().equals(...
Java
Apache License 2.0
openrewrite/rewrite
Fix JavaTypeMappingTest
478,636
08.11.2022 08:03:53
28,800
059bc43960924d26a476bcc72256f8f1e271df7d
Add estimated effort per occurrence to AvoidBoxedBooleanExpressions, FixStringFormatExpressions, and InlineVariable
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/AvoidBoxedBooleanExpressions.java", "new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/AvoidBoxedBooleanExpressions.java", "diff": "import org.openrewrite.java.tree.J;\nimport org.openre...
Java
Apache License 2.0
openrewrite/rewrite
Add estimated effort per occurrence to AvoidBoxedBooleanExpressions, FixStringFormatExpressions, and InlineVariable
478,636
08.11.2022 10:03:15
28,800
a389fd6d31826c7efcd311056e8cd901b7059b14
Add InlineVariable to common static analysis
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/resources/META-INF/rewrite/static-analysis-cleanup.yml", "new_path": "rewrite-java/src/main/resources/META-INF/rewrite/static-analysis-cleanup.yml", "diff": "@@ -38,6 +38,7 @@ recipeList:\n- org.openrewrite.java.cleanup.IndexOfChecksShoul...
Java
Apache License 2.0
openrewrite/rewrite
Add InlineVariable to common static analysis
478,615
08.11.2022 23:09:16
-3,600
66d3bc06a7aaf7d289c2dad1701dbf15b40b0210
Maven `RemoveExclusion` recipe should preserve comments Change `RemoveExclusion` recipe to use `Tag#getContent()` rather than `Tag#getChildren()` so that comments are preserved.
[ { "change_type": "MODIFY", "old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/RemoveExclusion.java", "new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/RemoveExclusion.java", "diff": "import org.openrewrite.Option;\nimport org.openrewrite.Recipe;\nimport org.openrewrite.inter...
Java
Apache License 2.0
openrewrite/rewrite
Maven `RemoveExclusion` recipe should preserve comments (#2400) Change `RemoveExclusion` recipe to use `Tag#getContent()` rather than `Tag#getChildren()` so that comments are preserved.
478,636
08.11.2022 14:11:53
28,800
993bd372b50e33e4c7a1155e6b15afd51d16c20d
Update RemoveExclusion to finally remove the `exclusions` tags if its only content are comments.
[ { "change_type": "MODIFY", "old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/RemoveExclusion.java", "new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/RemoveExclusion.java", "diff": "@@ -68,6 +68,7 @@ public Xml visitTag(Xml.Tag tag, ExecutionContext executionContext) {\nif ...
Java
Apache License 2.0
openrewrite/rewrite
Update RemoveExclusion to finally remove the `exclusions` tags if its only content are comments.
478,616
09.11.2022 16:07:05
28,800
bac8ca137fb2f0e112a05f3c94d46e509f5f004a
Update AvoidBoxedBooleanExpressions by adding support for replacing ternary expressions.
[ { "change_type": "MODIFY", "old_path": "rewrite-java-17/src/test/java/org/openrewrite/java/cleanup/AvoidBoxedBooleanExpressionsTest.java", "new_path": "rewrite-java-17/src/test/java/org/openrewrite/java/cleanup/AvoidBoxedBooleanExpressionsTest.java", "diff": "@@ -95,4 +95,23 @@ Boolean isTrue(Boolea...
Java
Apache License 2.0
openrewrite/rewrite
Update AvoidBoxedBooleanExpressions by adding support for replacing ternary expressions. (#2403)
478,630
08.11.2022 18:34:47
28,800
317e5c8d2ba9e6130fe7800b007314a4721220f5
Add line counting visitors for each language
[ { "change_type": "ADD", "old_path": null, "new_path": "rewrite-groovy/src/main/java/org/openrewrite/groovy/CountLinesVisitor.java", "diff": "+/*\n+ * Copyright 2022 the original author or authors.\n+ * <p>\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use th...
Java
Apache License 2.0
openrewrite/rewrite
Add line counting visitors for each language
478,619
10.11.2022 15:29:36
28,800
becf48a9f4e2e119fe48ad518c2c8baa7e9e14c0
Fix xml version of CountLinesVisitor Fix xml version of CountLinesVisitor
[ { "change_type": "MODIFY", "old_path": "rewrite-xml/src/main/java/org/openrewrite/xml/CountLinesVisitor.java", "new_path": "rewrite-xml/src/main/java/org/openrewrite/xml/CountLinesVisitor.java", "diff": "public class CountLinesVisitor extends XmlVisitor<AtomicInteger> {\n+ @Override\n+ public Xml vi...
Java
Apache License 2.0
openrewrite/rewrite
Fix xml version of CountLinesVisitor (#2409) Fix xml version of CountLinesVisitor
478,619
10.11.2022 16:26:06
28,800
1790e236749eba0361e6c9b20b59f0c0753bc337
Migration recipe conventions Add an ADR for migration recipe conventions.
[ { "change_type": "ADD", "old_path": null, "new_path": "doc/adr/0004-library-migration-conventions.md", "diff": "+# 4. Framework/Library Migration Recipe Naming Conventions\n+\n+Date: 2022-11-09\n+\n+## Status\n+\n+Accepted\n+\n+## Context\n+\n+Provide standards and conventions for framework/library ...
Java
Apache License 2.0
openrewrite/rewrite
Migration recipe conventions (#2404) Add an ADR for migration recipe conventions.
478,664
11.11.2022 19:40:54
-3,600
4d8f8c64ee8302f6c0aac4b266de9486d1327413
Support multiproject builds from the IDE Match on both jars and exploded artifact directories when adding dependencies to the parser.
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/java/org/openrewrite/java/JavaParser.java", "new_path": "rewrite-java/src/main/java/org/openrewrite/java/JavaParser.java", "diff": "* matching jars can be found.\n*/\nstatic List<Path> dependenciesFromClasspath(String... artifactNames) {\...
Java
Apache License 2.0
openrewrite/rewrite
Support multiproject builds from the IDE (#2407) Match on both jars and exploded artifact directories when adding dependencies to the parser.
478,636
11.11.2022 16:20:52
28,800
0d64a50d321ba9abd70eab4628b4f36773414107
Add UpperCaseLiteralSuffixes recipe. (fixes
[ { "change_type": "ADD", "old_path": null, "new_path": "rewrite-java-17/src/test/java/org/openrewrite/java/cleanup/UpperCaseLiteralSuffixesTest.java", "diff": "+package org.openrewrite.java.cleanup;\n+\n+import org.junit.jupiter.api.Test;\n+import org.openrewrite.test.RecipeSpec;\n+import org.openrew...
Java
Apache License 2.0
openrewrite/rewrite
Add UpperCaseLiteralSuffixes recipe. (fixes #2414)
478,636
11.11.2022 16:32:27
28,800
586ecd9582a2092c3e8ad9a7a39cb347dc1f38e5
Fix NoValueOfOnStringType by not transforming chained `String.valueOf(..)` method invocations.
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/NoValueOfOnStringTypeTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/NoValueOfOnStringTypeTest.kt", "diff": "@@ -17,22 +17,39 @@ package org.openrewrite.java.cle...
Java
Apache License 2.0
openrewrite/rewrite
Fix NoValueOfOnStringType by not transforming chained `String.valueOf(..)` method invocations.
478,636
14.11.2022 08:27:58
28,800
89c96a02b8669199badc9092acb2bc3bdd066fc7
add UpperCaseLiteralSuffixes single source applicability test.
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/UpperCaseLiteralSuffixes.java", "new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/UpperCaseLiteralSuffixes.java", "diff": "*/\npackage org.openrewrite.java.cleanup;\n+import org.openrew...
Java
Apache License 2.0
openrewrite/rewrite
add UpperCaseLiteralSuffixes single source applicability test.
478,636
14.11.2022 09:00:04
28,800
2bf049d6ccb2936d9c4186489ff673d4be0f0f41
add UpperCaseLiteralSuffixes and FixStringFormatExpressions to common-static-analysis.
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/resources/META-INF/rewrite/static-analysis-cleanup.yml", "new_path": "rewrite-java/src/main/resources/META-INF/rewrite/static-analysis-cleanup.yml", "diff": "@@ -33,6 +33,7 @@ recipeList:\n- org.openrewrite.java.cleanup.ExternalizableHasN...
Java
Apache License 2.0
openrewrite/rewrite
add UpperCaseLiteralSuffixes and FixStringFormatExpressions to common-static-analysis.
478,616
14.11.2022 16:51:57
28,800
d97da5993439b5cf3c4b5e319acd86a4917abc05
Update `J.Import#getTypeName` so that the last `$` index is used for determining the outermost class. for example the typename for `import static com.test.Outer$Inner$.*` should be `com.test.Outer$Inner`
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/RemoveUnusedImportsTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/RemoveUnusedImportsTest.kt", "diff": "@@ -30,6 +30,26 @@ interface RemoveUnusedImportsTest : RewriteTest {\nsp...
Java
Apache License 2.0
openrewrite/rewrite
Update `J.Import#getTypeName` so that the last `$` index is used for determining the outermost class. (#2419) for example the typename for `import static com.test.Outer$Inner$.*` should be `com.test.Outer$Inner`
478,642
15.11.2022 08:25:28
18,000
15bbed128f789a4f2c8d01e5a825abce51bf2edf
Fixed regression with maven anonymous download (issue
[ { "change_type": "MODIFY", "old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/internal/MavenPomDownloader.java", "new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/internal/MavenPomDownloader.java", "diff": "@@ -649,8 +649,16 @@ protected MavenRepository normalizeRepository(M...
Java
Apache License 2.0
openrewrite/rewrite
Fixed regression with maven anonymous download (issue #1859) (#2401)
478,636
15.11.2022 10:05:08
28,800
7ae46898bef137b6ff505f18fb113c53da04f466
PrimitiveWrapperClassConstructorToValueOf `SingleSourceApplicabilityTest` update and RewriteTest conversion.
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/PrimitiveWrapperClassConstructorToValueOfTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/PrimitiveWrapperClassConstructorToValueOfTest.kt", "diff": "@@ -17,32 +1...
Java
Apache License 2.0
openrewrite/rewrite
PrimitiveWrapperClassConstructorToValueOf `SingleSourceApplicabilityTest` update and RewriteTest conversion.
478,636
15.11.2022 14:38:41
28,800
4b4f150729dc5ac59c227d3daee831061e117429
Update `MethodNameCasing` to correctly rename mixed snake case method names. e.g. `getFoo_bar()` -> `getFooBar()`, add option for specifically renaming `public` methods, and RewriteTest conversion. (fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/MethodNameCasing.java", "new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/MethodNameCasing.java", "diff": "@Nullable\nBoolean includeTestSources;\n+ @Option(displayName = \"Rename publi...
Java
Apache License 2.0
openrewrite/rewrite
Update `MethodNameCasing` to correctly rename mixed snake case method names. e.g. `getFoo_bar()` -> `getFooBar()`, add option for specifically renaming `public` methods, and RewriteTest conversion. (fixes #2424)
478,636
15.11.2022 15:55:13
28,800
c3fae52540d89bd9eecc3f3051ba199b47dac994
Add name and description validation to both RewriteTest and RecipeTest. (fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/java/org/openrewrite/java/RecipeMarkupDemonstration.java", "new_path": "rewrite-java/src/main/java/org/openrewrite/java/RecipeMarkupDemonstration.java", "diff": "@Override\npublic String getDisplayName() {\n- return \"Demonstrate renderin...
Java
Apache License 2.0
openrewrite/rewrite
Add name and description validation to both RewriteTest and RecipeTest. (fixes #2426)
478,630
15.11.2022 18:02:31
28,800
fbd143db6f52c187f041d652d2d982d559dcb86e
Fix autodetection of styles determines erroneously low numbers of spaces-per-indent
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/style/AutodetectTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/style/AutodetectTest.kt", "diff": "* limitations under the License.\n*/\n+@file:Suppress(\"PointlessBooleanExpres...
Java
Apache License 2.0
openrewrite/rewrite
Fix #2410 autodetection of styles determines erroneously low numbers of spaces-per-indent
478,615
16.11.2022 03:34:06
-3,600
1f990e11cc2b28364839a4104baa9337d52f95af
Make `ReplaceConstant` support full Java literal syntax Java literals can take many forms (e.g. `1_000`, `0b1111`, `0xff`) and the `ReplaceConstant` should support all of them.
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/java/org/openrewrite/java/ReplaceConstant.java", "new_path": "rewrite-java/src/main/java/org/openrewrite/java/ReplaceConstant.java", "diff": "import lombok.EqualsAndHashCode;\nimport lombok.Value;\nimport org.openrewrite.*;\n-import org.o...
Java
Apache License 2.0
openrewrite/rewrite
Make `ReplaceConstant` support full Java literal syntax (#2422) Java literals can take many forms (e.g. `1_000`, `0b1111`, `0xff`) and the `ReplaceConstant` should support all of them.
478,615
16.11.2022 03:34:40
-3,600
45977115f5080557d0f28a63388bd6aa62971627
Include source path in HCL parser errors
[ { "change_type": "MODIFY", "old_path": "rewrite-hcl/src/main/java/org/openrewrite/hcl/HclParser.java", "new_path": "rewrite-hcl/src/main/java/org/openrewrite/hcl/HclParser.java", "diff": "@@ -115,7 +115,7 @@ private ForwardingErrorListener(Path sourcePath, ExecutionContext ctx) {\npublic void syntax...
Java
Apache License 2.0
openrewrite/rewrite
Include source path in HCL parser errors (#2420)
478,605
16.11.2022 11:16:57
28,800
f2aec4dd99b376eaf90bb9a0dc719e6a2fbce68c
Added support for JavaType$Primitive in UsesType. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/search/UsesTypeTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/search/UsesTypeTest.kt", "diff": "@@ -17,19 +17,36 @@ package org.openrewrite.java.search\nimport org.junit.jupite...
Java
Apache License 2.0
openrewrite/rewrite
Added support for JavaType$Primitive in UsesType. (#2428) fixes #2427
478,605
16.11.2022 11:25:08
28,800
d23ae8f1edc7f0a3544f6af6ba52a54016b729d1
Added checks for primitives in the source applicability tests of UpperCaseLiteralSuffixes. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java-17/src/test/java/org/openrewrite/java/cleanup/UpperCaseLiteralSuffixesTest.java", "new_path": "rewrite-java-17/src/test/java/org/openrewrite/java/cleanup/UpperCaseLiteralSuffixesTest.java", "diff": "package org.openrewrite.java.cleanup;\nimport or...
Java
Apache License 2.0
openrewrite/rewrite
Added checks for primitives in the source applicability tests of UpperCaseLiteralSuffixes. fixes #2429
478,605
16.11.2022 11:44:01
28,800
a2a073851cc5a061c56305c0e0254702cc604f10
Use VariableNameUtils to normalize the method name to preserve characters with accents and diacritics in MethodNameCasing. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/MethodNameCasingTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/MethodNameCasingTest.kt", "diff": "@@ -101,7 +101,7 @@ interface MethodNameCasingTest: RewriteTes...
Java
Apache License 2.0
openrewrite/rewrite
Use VariableNameUtils to normalize the method name to preserve characters with accents and diacritics in MethodNameCasing. fixes #2430
478,605
16.11.2022 11:55:47
28,800
399093743b57393e282d46ce277f2bb440bf6083
Polish. Renamed MethodNameCasing#isOkToRenamePublicMethod to reflect the action of the method.
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/MethodNameCasing.java", "new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/MethodNameCasing.java", "diff": "@@ -99,7 +99,7 @@ public JavaSourceFile visitJavaSourceFile(JavaSourceFile cu,...
Java
Apache License 2.0
openrewrite/rewrite
Polish. Renamed MethodNameCasing#isOkToRenamePublicMethod to reflect the action of the method.
478,605
17.11.2022 12:50:46
28,800
cf1b6b4c7e1f041faee55d48878de37047a18fa8
Only update the J.Try.Resource#terminatedWithSemiColon flag when applicable in RemoveExtraSemicolons. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/RemoveExtraSemicolonsTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/RemoveExtraSemicolonsTest.kt", "diff": "*/\npackage org.openrewrite.java.cleanup\n+import or...
Java
Apache License 2.0
openrewrite/rewrite
Only update the J.Try.Resource#terminatedWithSemiColon flag when applicable in RemoveExtraSemicolons. fixes #2431
478,605
17.11.2022 16:05:00
28,800
55d5a991955173b516f472ab016e2ca36ab99afe
Updated JavaPrinter to print state of AST in visitTry for J.Try.Resource. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java/src/main/java/org/openrewrite/java/JavaPrinter.java", "new_path": "rewrite-java/src/main/java/org/openrewrite/java/JavaPrinter.java", "diff": "@@ -945,14 +945,12 @@ public J visitTry(Try tryable, PrintOutputCapture<P> p) {\nvisitSpace(tryable.getP...
Java
Apache License 2.0
openrewrite/rewrite
Updated JavaPrinter to print state of AST in visitTry for J.Try.Resource. (#2436) fixes #2435
478,605
17.11.2022 16:09:27
28,800
a3f6c590d71a5f7f93f90c5ebc116265df868756
Updated RenameVariable to detect changes to `J.MethodDeclaration` parameters and call `RenameJavaDocParamNameVisitor` to update the `@param` when possible. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/RenameLocalVariablesToCamelCaseTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/RenameLocalVariablesToCamelCaseTest.kt", "diff": "@@ -89,6 +89,31 @@ interface Ren...
Java
Apache License 2.0
openrewrite/rewrite
Updated RenameVariable to detect changes to `J.MethodDeclaration` parameters and call `RenameJavaDocParamNameVisitor` to update the `@param` when possible. fixes #2437
478,605
18.11.2022 16:19:05
28,800
d8360ef38988c12f237ca29df0494b3a982336a9
Added IfStatement to WrappingAndBracesStyle. Added auto-detection for WrappingAndBracesStyle#ifStatement.elseOnNewLine. Added auto-formatting support for else on new lines. Updated NeedBracesTest(s) with auto-formatting. fixes
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/NeedBracesTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/NeedBracesTest.kt", "diff": "@@ -106,8 +106,7 @@ interface NeedBracesTest : JavaRecipeTest {\nstatic vo...
Java
Apache License 2.0
openrewrite/rewrite
Added IfStatement to WrappingAndBracesStyle. (#2442) Added auto-detection for WrappingAndBracesStyle#ifStatement.elseOnNewLine. Added auto-formatting support for else on new lines. Updated NeedBracesTest(s) with auto-formatting. fixes #2440
478,630
18.11.2022 17:35:36
28,800
33c780877f2ace926dcb8de82042f823ce44bf61
Cleanup FinalizeLocalVariables
[ { "change_type": "MODIFY", "old_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/FinalizeLocalVariablesTest.kt", "new_path": "rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/FinalizeLocalVariablesTest.kt", "diff": "@@ -21,17 +21,22 @@ import org.junit.jupiter.api.D...
Java
Apache License 2.0
openrewrite/rewrite
Cleanup FinalizeLocalVariables