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,605 | 01.06.2022 09:42:44 | 25,200 | f24d4af845eaa47407fdba4d3f1f6c964adfeeb1 | Patch false negative in TypeSignatureBuilders. We should rely on the type parameters on the Type instead of using the method `isParameterized`.
fixes | [
{
"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": "@@ -41,9 +41,9 @@ private Stri... | Java | Apache License 2.0 | openrewrite/rewrite | Patch false negative in TypeSignatureBuilders. We should rely on the type parameters on the Type instead of using the method `isParameterized`.
fixes #1866 |
478,616 | 01.06.2022 10:07:54 | 25,200 | 72e93c2a5c52503cc3923a213537701ca661474f | Fix FindMissingTypes bug where chained method invocations each having unknown types only generated a single result. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/search/FindMissingTypes.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/search/FindMissingTypes.java",
"diff": "@@ -99,11 +99,11 @@ public String getDescription() {\n@Override\npublic J.Method... | Java | Apache License 2.0 | openrewrite/rewrite | Fix FindMissingTypes bug where chained method invocations each having unknown types only generated a single result. (#1867) |
478,605 | 01.06.2022 10:56:44 | 25,200 | e05acf7bba0259d9788bf5325d5316b6dbc676d2 | `visitIdentifier` should not check the type in `SemanticallyEqual`. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/search/SemanticallyEqual.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/search/SemanticallyEqual.java",
"diff": "@@ -634,8 +634,7 @@ public Expression visitExpression(Expression expression, J... | Java | Apache License 2.0 | openrewrite/rewrite | `visitIdentifier` should not check the type in `SemanticallyEqual`. |
478,605 | 01.06.2022 11:06:36 | 25,200 | c633278774bf7e599794340c7e4110907b1fa645 | Check for `JavaType.Unknown` in type utils.
fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/tree/TypeUtils.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/tree/TypeUtils.java",
"diff": "@@ -47,6 +47,9 @@ public static boolean fullyQualifiedNamesAreEqual(@Nullable String fqn1, @Nullab... | Java | Apache License 2.0 | openrewrite/rewrite | Check for `JavaType.Unknown` in type utils. (#1869)
fixes #1868 |
478,605 | 01.06.2022 12:20:16 | 25,200 | 6c5b76066f6c7c6fcf05519f55a6aa61dffe82d4 | Compare the invoked method when possible in SemanticallyEqual.
fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/search/SemanticallyEqual.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/search/SemanticallyEqual.java",
"diff": "@@ -634,7 +634,8 @@ public Expression visitExpression(Expression expression, J... | Java | Apache License 2.0 | openrewrite/rewrite | Compare the invoked method when possible in SemanticallyEqual. (#1871)
fixes #1870 |
478,627 | 01.06.2022 13:50:20 | 25,200 | 755a05073ccaa7108927c8374332e31cb1b7a0ee | fix: bump connect timeout from 1 second to 3 seconds for gradle wrapper validation call. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/AddGradleWrapper.java",
"new_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/AddGradleWrapper.java",
"diff": "import org.openrewrite.properties.tree.Properties;\nimport org.openrewrite.text.PlainT... | Java | Apache License 2.0 | openrewrite/rewrite | fix: bump connect timeout from 1 second to 3 seconds for gradle wrapper validation call. (#1874) |
478,605 | 01.06.2022 16:57:58 | 25,200 | 62477fe22206a1e9d2e156f71a9a5f7602fc267c | Polish. Assert equivalence through String value of J.Package#expression instead of visiting the package name.
Added missing guards against visiting nullable types. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/search/SemanticallyEqual.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/search/SemanticallyEqual.java",
"diff": "@@ -393,7 +393,9 @@ public Expression visitExpression(Expression expression, J... | Java | Apache License 2.0 | openrewrite/rewrite | Polish. Assert equivalence through String value of J.Package#expression instead of visiting the package name.
Added missing guards against visiting nullable types. |
478,630 | 01.06.2022 18:38:18 | 25,200 | bb6808a543e8de6cfc81d33f83e71ac15f901464 | Fix HasSourcePath returns false-negative results | [
{
"change_type": "MODIFY",
"old_path": "rewrite-core/src/main/java/org/openrewrite/HasSourcePath.java",
"new_path": "rewrite-core/src/main/java/org/openrewrite/HasSourcePath.java",
"diff": "@@ -50,12 +50,13 @@ public Tree visit(@Nullable Tree tree, P p) {\nif (tree instanceof SourceFile) {\nSourceFi... | Java | Apache License 2.0 | openrewrite/rewrite | Fix #1878 HasSourcePath returns false-negative results (#1879) |
478,610 | 03.06.2022 07:44:28 | -7,200 | f071a93708944d83244d278d2988865a32724779 | PlainTextParser publishes parser event | [
{
"change_type": "MODIFY",
"old_path": "rewrite-core/src/main/java/org/openrewrite/text/PlainTextParser.java",
"new_path": "rewrite-core/src/main/java/org/openrewrite/text/PlainTextParser.java",
"diff": "import org.openrewrite.Parser;\nimport org.openrewrite.internal.lang.Nullable;\nimport org.openr... | Java | Apache License 2.0 | openrewrite/rewrite | PlainTextParser publishes parser event (#1880) |
478,643 | 03.06.2022 20:57:56 | 14,400 | eceddd148ab1f6a0d40e884e06f93ade7154d8d3 | Change dependency classifier recipe | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/ChangeDependencyClassifier.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... | Java | Apache License 2.0 | openrewrite/rewrite | Change dependency classifier recipe (#1890) |
478,630 | 04.06.2022 17:39:07 | 25,200 | 59be17de1bd69760d3215b0c4fffb0ce21462af3 | Fix When rewrite-java-11 or rewrite-java-17 are on the classpath running jdk8, recipe loading can fail | [
{
"change_type": "DELETE",
"old_path": "rewrite-java-11/src/main/java/org/openrewrite/java/package-info.java",
"new_path": null,
"diff": "-/*\n- * Copyright 2020 the original author or authors.\n- * <p>\n- * Licensed under the Apache License, Version 2.0 (the \"License\");\n- * you may not use this ... | Java | Apache License 2.0 | openrewrite/rewrite | Fix #1892 When rewrite-java-11 or rewrite-java-17 are on the classpath running jdk8, recipe loading can fail |
478,636 | 06.06.2022 13:15:42 | 25,200 | b12b9212e89324b3ea74fb5162d5bf1862b4b881 | Allow visitors to schedule another visit by invoking `doAfterVisit(this)` by changing `TreeVisitor.afterVisit` to a `CopyOnWriteArrayList`. (issue https://github.com/openrewrite/rewrite-logging-frameworks/issues/64) | [
{
"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 java.util.ArrayList;\nimport java.util.Collection;\nimport java.util.List;\n+import java.util.concurrent.Co... | Java | Apache License 2.0 | openrewrite/rewrite | Allow visitors to schedule another visit by invoking `doAfterVisit(this)` by changing `TreeVisitor.afterVisit` to a `CopyOnWriteArrayList`. (issue https://github.com/openrewrite/rewrite-logging-frameworks/issues/64) |
478,627 | 06.06.2022 13:46:40 | 25,200 | e5855d96369ac4a43140908f446d16fabe52e22b | fix: instantiate GradleWrapper once per recipe run. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/util/GradleWrapper.java",
"new_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/util/GradleWrapper.java",
"diff": "@@ -87,6 +87,10 @@ public GradleWrapper getValue() {\n}\nprivate GradleWrapper bui... | Java | Apache License 2.0 | openrewrite/rewrite | fix: instantiate GradleWrapper once per recipe run. (#1893) |
478,605 | 07.06.2022 11:42:26 | 25,200 | 8a8557eb746001f66fc01992bb7a5102e330526f | Added support for `JavaType.Method` to `TypeUtils.isOfType`. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/tree/TypeUtils.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/tree/TypeUtils.java",
"diff": "@@ -100,6 +100,37 @@ public static boolean isOfType(@Nullable JavaType type1, @Nullable JavaType t... | Java | Apache License 2.0 | openrewrite/rewrite | Added support for `JavaType.Method` to `TypeUtils.isOfType`. (#1898) |
478,605 | 07.06.2022 11:57:56 | 25,200 | e5dc7e2f812e79107173d778ec8fd71a6c3c1333 | Added support to check for semantic equivalence and compare method type of method invocations instead of the type of the arguments. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/search/SemanticallyEqual.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/search/SemanticallyEqual.java",
"diff": "@@ -33,14 +33,30 @@ private SemanticallyEqual() {\n}\npublic static boolean ar... | Java | Apache License 2.0 | openrewrite/rewrite | Added support to check for semantic equivalence and compare method type of method invocations instead of the type of the arguments. (#1900) |
478,627 | 07.06.2022 13:16:18 | 25,200 | 5f532e9cc0bb8e1789362d5e4da804a68904adde | Recipe.validate accepts execution context | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "rewrite-core/src/main/java/org/openrewrite/HttpSenderExecutionContextView.java",
"diff": "+/*\n+ * Copyright 2020 the original author or authors.\n+ * <p>\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not us... | Java | Apache License 2.0 | openrewrite/rewrite | Recipe.validate accepts execution context (#1894) |
478,605 | 08.06.2022 15:38:03 | 25,200 | a09148f931f01e7602daec97d9027e73b5222fad | Added support to auto format multi catch control parens
fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/format/SpacesVisitor.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/format/SpacesVisitor.java",
"diff": "@@ -301,6 +301,28 @@ public SpacesVisitor(SpacesStyle style, @Nullable EmptyForInitial... | Java | Apache License 2.0 | openrewrite/rewrite | Added support to auto format multi catch control parens (#1903)
fixes #1896 |
478,630 | 09.06.2022 11:09:45 | 25,200 | 3827524d9782d6df7920675ec29ffebdccb34b89 | Fix GroovyParser stores absolute paths to sources it parses | [
{
"change_type": "MODIFY",
"old_path": "rewrite-groovy/src/main/java/org/openrewrite/groovy/GroovyParser.java",
"new_path": "rewrite-groovy/src/main/java/org/openrewrite/groovy/GroovyParser.java",
"diff": "for (CompiledGroovySource compiled : compilerCus) {\ntry {\nGroovyParserVisitor mappingVisitor... | Java | Apache License 2.0 | openrewrite/rewrite | Fix #1906, GroovyParser stores absolute paths to sources it parses (#1907) |
478,636 | 09.06.2022 12:33:05 | 25,200 | 93889a3556c09cebf9fc45d7d9d377dc920f74d8 | Replace ExternalFlowModels jackson csv mapping with a BufferedReader and logic to instantiate FlowModels. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/build.gradle.kts",
"new_path": "rewrite-java/build.gradle.kts",
"diff": "@@ -33,8 +33,6 @@ dependencies {\napi(\"com.fasterxml.jackson.core:jackson-annotations:latest.release\")\n- implementation(\"com.fasterxml.jackson.dataformat:jackson-dataform... | Java | Apache License 2.0 | openrewrite/rewrite | Replace ExternalFlowModels jackson csv mapping with a BufferedReader and logic to instantiate FlowModels. |
478,636 | 09.06.2022 12:37:00 | 25,200 | d7ee11781430a0e53f1c3c7c1f4fb15366f62dd3 | Update ExternalFlowModels#loadCvs exception to include source path. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/dataflow/ExternalFlowModels.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/dataflow/ExternalFlowModels.java",
"diff": "import java.io.*;\nimport java.lang.ref.WeakReference;\n+import java.net... | Java | Apache License 2.0 | openrewrite/rewrite | Update ExternalFlowModels#loadCvs exception to include source path. |
478,627 | 13.06.2022 13:59:42 | 25,200 | 9880b7f67369b9ce937c70dd089db3c31c4a0125 | fix: UpdateGradleWrapper now adds missing gradle files.
Add/Update GradleWrapper recipes revalidate | [
{
"change_type": "MODIFY",
"old_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/AddGradleWrapper.java",
"new_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/AddGradleWrapper.java",
"diff": "@@ -72,7 +72,11 @@ public String getDescription() {\n@Override\npublic Validated valid... | Java | Apache License 2.0 | openrewrite/rewrite | fix: UpdateGradleWrapper now adds missing gradle files. (#1911)
Add/Update GradleWrapper recipes revalidate |
478,613 | 14.06.2022 16:40:16 | 14,400 | b9891dc9a17aa7f0bff97d12a24f2b3ba53cc6b0 | Remove ExplicitLambdaArguments from default list of cleanup recipes. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/resources/META-INF/rewrite/cleanup.yml",
"new_path": "rewrite-java/src/main/resources/META-INF/rewrite/cleanup.yml",
"diff": "@@ -22,7 +22,6 @@ recipeList:\n- org.openrewrite.java.cleanup.DefaultComesLast\n- org.openrewrite.java.cleanup.E... | Java | Apache License 2.0 | openrewrite/rewrite | Remove ExplicitLambdaArguments from default list of cleanup recipes. |
478,613 | 14.06.2022 16:41:00 | 14,400 | 432e516126acda442ceacafc63323185eabbf27f | Remove ExplicitLambdaArgumentTypes from default list of common static analysis issues. | [
{
"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": "@@ -31,7 +31,6 @@ recipeList:\n- org.openrewrite.java.cleanup.EmptyBlock\n- org.... | Java | Apache License 2.0 | openrewrite/rewrite | Remove ExplicitLambdaArgumentTypes from default list of common static analysis issues. |
478,627 | 14.06.2022 14:59:18 | 25,200 | b056dc93509a816774101679e982ba7cff0ec1f5 | fix: use systems separators when comparing paths. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-core/src/main/java/org/openrewrite/PathUtils.java",
"new_path": "rewrite-core/src/main/java/org/openrewrite/PathUtils.java",
"diff": "*/\npackage org.openrewrite;\n+import org.apache.commons.io.FilenameUtils;\n+\nimport java.nio.file.Path;\n+import jav... | Java | Apache License 2.0 | openrewrite/rewrite | fix: use systems separators when comparing paths. (#1917) |
478,605 | 15.06.2022 10:04:17 | 25,200 | 2ac8c8262c4f051a5109161a1da42b62c2e276e9 | Add method params and class fields to `localVariables` in `UseLambdaForFunctionalInterface#shadowsLocalVariable`.
fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/UseLambdaForFunctionalInterface.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/UseLambdaForFunctionalInterface.java",
"diff": "@@ -197,6 +197,21 @@ public J visitIdentifier(J.... | Java | Apache License 2.0 | openrewrite/rewrite | Add method params and class fields to `localVariables` in `UseLambdaForFunctionalInterface#shadowsLocalVariable`. (#1919)
fixes #1915 |
478,630 | 16.06.2022 14:44:22 | 25,200 | d159221752ca8b9c64f8597bb8c9ad523619d94e | Include source path in groovy parsing errors so it is easier to identify the specific file which failed to parse | [
{
"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": "@@ -139,10 +139,10 @@ public GroovyParserVisitor(Path sourcePath, @Nullable File... | Java | Apache License 2.0 | openrewrite/rewrite | Include source path in groovy parsing errors so it is easier to identify the specific file which failed to parse |
478,605 | 16.06.2022 18:20:57 | 25,200 | fa1ff6014ee711770ceac707117298321f05789c | Do not change lambda on chained method invocations.
fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/ReplaceLambdaWithMethodReference.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/ReplaceLambdaWithMethodReference.java",
"diff": "@@ -109,7 +109,7 @@ public J visitLambda(J.Lam... | Java | Apache License 2.0 | openrewrite/rewrite | Do not change lambda on chained method invocations. (#1927)
fixes #1926 |
478,630 | 17.06.2022 09:03:38 | 25,200 | 3cbc716a688b8e0f22fae6cefd9e82ab61dd1d27 | Fix GroovyParser doesn't handle single line comments containing a multi-line comment opener | [
{
"change_type": "MODIFY",
"old_path": "rewrite-core/src/main/java/org/openrewrite/internal/StringUtils.java",
"new_path": "rewrite-core/src/main/java/org/openrewrite/internal/StringUtils.java",
"diff": "import java.io.InputStream;\nimport java.nio.charset.StandardCharsets;\nimport java.nio.file.*;\... | Java | Apache License 2.0 | openrewrite/rewrite | Fix #1929, GroovyParser doesn't handle single line comments containing a multi-line comment opener |
478,642 | 17.06.2022 12:35:16 | 14,400 | 828d7fd4d1057b60514a5aa217ecdc76cb0c6bf6 | Fix Maven - local repository location does not respect settings.xml | [
{
"change_type": "MODIFY",
"old_path": "rewrite-core/build.gradle.kts",
"new_path": "rewrite-core/build.gradle.kts",
"diff": "@@ -22,7 +22,7 @@ dependencies {\n// https://github.com/openrewrite/rewrite/issues/1479\ncompileOnly(\"com.squareup.okhttp3:okhttp:4.9.3\")\n- implementation(\"commons-io:com... | Java | Apache License 2.0 | openrewrite/rewrite | Fix #1688, Maven - local repository location does not respect settings.xml (#1923) |
478,630 | 17.06.2022 13:25:28 | 25,200 | 668a1243bf95d193967a2d22007cf7ebb7bf4f07 | Ensure maven local repository from settings ends up in execution context so maven pom downloader can find it | [
{
"change_type": "MODIFY",
"old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/MavenExecutionContextView.java",
"new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/MavenExecutionContextView.java",
"diff": "import java.util.stream.Collectors;\nimport static java.util.Collections... | Java | Apache License 2.0 | openrewrite/rewrite | Ensure maven local repository from settings ends up in execution context so maven pom downloader can find it |
478,630 | 17.06.2022 13:34:55 | 25,200 | f9b08f73cae5ac2ce24704e35aa0c1355da70c94 | Remove unneeded dependency on commons-io | [
{
"change_type": "MODIFY",
"old_path": "rewrite-core/build.gradle.kts",
"new_path": "rewrite-core/build.gradle.kts",
"diff": "@@ -22,7 +22,6 @@ dependencies {\n// https://github.com/openrewrite/rewrite/issues/1479\ncompileOnly(\"com.squareup.okhttp3:okhttp:4.9.3\")\n- implementation(\"commons-io:com... | Java | Apache License 2.0 | openrewrite/rewrite | Remove unneeded dependency on commons-io |
478,638 | 17.06.2022 16:39:04 | 14,400 | c5afc7d985049185e4ed5c42f0a9c761a100fa15 | Add support for synchronized block in control flow | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/controlflow/ControlFlow.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/controlflow/ControlFlow.java",
"diff": "@@ -177,6 +177,14 @@ private void addCursorToBasicBlock() {\nreturn block;\n}\n+... | Java | Apache License 2.0 | openrewrite/rewrite | Add support for synchronized block in control flow (#1933) |
478,630 | 17.06.2022 14:47:54 | 25,200 | a3b93602fc00e767798f59a14b2c9851cbb6bc88 | Ensure MavenExecutionContextView.setMavenSettings() accounts for local repository on settings object | [
{
"change_type": "MODIFY",
"old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/MavenExecutionContextView.java",
"new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/MavenExecutionContextView.java",
"diff": "import static java.util.Collections.emptyList;\nimport static org.openre... | Java | Apache License 2.0 | openrewrite/rewrite | Ensure MavenExecutionContextView.setMavenSettings() accounts for local repository on settings object |
478,630 | 20.06.2022 17:54:22 | 25,200 | a66fce2c248ad4e9b273c3751fd48d160cef869b | Delete DelegatingGroovyVisitor. Now that I actually tried to use it for something I realize it double-visits. Terrible for performance, fatal for any mutating visitor which depends on the visit-exactly-once property | [
{
"change_type": "DELETE",
"old_path": "rewrite-groovy/src/main/java/org/openrewrite/groovy/DelegatingGroovyVisitor.java",
"new_path": null,
"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 n... | Java | Apache License 2.0 | openrewrite/rewrite | Delete DelegatingGroovyVisitor. Now that I actually tried to use it for something I realize it double-visits. Terrible for performance, fatal for any mutating visitor which depends on the visit-exactly-once property |
478,630 | 20.06.2022 20:34:07 | 25,200 | f530dc2112cd7b6c3ea129dea21bdaefdd8f1a71 | Fix GroovyVisitor.visitGString() failing to visit the type | [
{
"change_type": "MODIFY",
"old_path": "rewrite-groovy/src/main/java/org/openrewrite/groovy/GroovyVisitor.java",
"new_path": "rewrite-groovy/src/main/java/org/openrewrite/groovy/GroovyVisitor.java",
"diff": "@@ -64,7 +64,7 @@ public J visitGString(G.GString gString, P p) {\ng = (G.GString) temp;\n}\... | Java | Apache License 2.0 | openrewrite/rewrite | Fix GroovyVisitor.visitGString() failing to visit the type |
478,636 | 21.06.2022 14:47:37 | 25,200 | b0ab650f7a1cda0a993b2f2c4b80567b5a9d03d1 | Add disabled tests for issue | [
{
"change_type": "MODIFY",
"old_path": "rewrite-yaml/src/test/kotlin/org/openrewrite/yaml/ChangePropertyKeyTest.kt",
"new_path": "rewrite-yaml/src/test/kotlin/org/openrewrite/yaml/ChangePropertyKeyTest.kt",
"diff": "package org.openrewrite.yaml\nimport org.assertj.core.api.Assertions.assertThat\n+im... | Java | Apache License 2.0 | openrewrite/rewrite | Add disabled tests for issue #1873 |
478,636 | 21.06.2022 15:40:17 | 25,200 | 88fd0dfc33aa2dd8130bc055046df07c239e606d | Update ChangePropertyKey to auto-format modified mappings. (issue | [
{
"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": "@@ -121,7 +121,6 @@ public String getDescription() {\npropertyToTest,\nentry\n));\n- doAfter... | Java | Apache License 2.0 | openrewrite/rewrite | Update ChangePropertyKey to auto-format modified mappings. (issue #1873) |
478,630 | 22.06.2022 16:56:28 | 25,200 | 8bebd4aaa9211bc80a18c07959c049bbd04c42a1 | Implement GroovyParser support for try/catch/finally blocks. Closes | [
{
"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": "import org.openrewrite.groovy.marker.*;\nimport org.openrewrite.groovy.tree.G;\n... | Java | Apache License 2.0 | openrewrite/rewrite | Implement GroovyParser support for try/catch/finally blocks. Closes #1943 (#1946) |
478,630 | 22.06.2022 18:50:08 | 25,200 | 4a6a78ee627f750ae07c7d43e9032b383538f3ef | Fix handling of whitespace at the end of Groovy and Java source files | [
{
"change_type": "MODIFY",
"old_path": "rewrite-groovy/src/main/java/org/openrewrite/groovy/GroovyPrinter.java",
"new_path": "rewrite-groovy/src/main/java/org/openrewrite/groovy/GroovyPrinter.java",
"diff": "@@ -143,6 +143,11 @@ public Space visitSpace(Space space, GSpace.Location loc, PrintOutputCa... | Java | Apache License 2.0 | openrewrite/rewrite | Fix handling of whitespace at the end of Groovy and Java source files |
478,605 | 23.06.2022 14:28:52 | 25,200 | 3d3852fa2c075f641e021f962e0534ed1b6b5b63 | Added `RenameClass` recipe.
fixes | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/RenameClass.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 ex... | Java | Apache License 2.0 | openrewrite/rewrite | Added `RenameClass` recipe. (#1949)
fixes #1904 |
478,605 | 23.06.2022 14:53:13 | 25,200 | 1917419049f7341f6eedf13bee7b2b9a5c2603a3 | Update applicable prefixes when necessary in ChangePackage.
fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/ChangePackage.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/ChangePackage.java",
"diff": "@@ -108,7 +108,7 @@ public JavaSourceFile visitJavaSourceFile(JavaSourceFile cu, ExecutionContext ct... | Java | Apache License 2.0 | openrewrite/rewrite | Update applicable prefixes when necessary in ChangePackage. (#1951)
fixes #1950 |
478,638 | 23.06.2022 16:53:22 | 18,000 | 45a64e0f629b32d3e2109817037cb269dac602ca | Fix simplify if branch execution when jumps are present
Fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/SimplifyConstantIfBranchExecution.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/SimplifyConstantIfBranchExecution.java",
"diff": "import org.openrewrite.SourceFile;\nimport o... | Java | Apache License 2.0 | openrewrite/rewrite | Fix simplify if branch execution when jumps are present (#1932)
Fixes https://github.com/openrewrite/rewrite-java-security/issues/34 |
478,636 | 23.06.2022 14:54:32 | 25,200 | 6aa5d491487ec0537727fd66aee4d84be12db65d | Update SimplifyConstantIfBranchExecution remove unnecessary visit and test which is no-longer valid | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/SimplifyConstantIfBranchExecution.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/SimplifyConstantIfBranchExecution.java",
"diff": "@@ -85,8 +85,6 @@ public J visitIf(J.If if_,... | Java | Apache License 2.0 | openrewrite/rewrite | Update SimplifyConstantIfBranchExecution remove unnecessary visit and test which is no-longer valid |
478,636 | 23.06.2022 16:52:37 | 25,200 | 4bf22a02271d023f9f1144a1669e91112abf23bd | Update SimplifyConstantIfBranchExecution remove unreachable blocks and some polish | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/SimplifyConstantIfBranchExecution.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/SimplifyConstantIfBranchExecution.java",
"diff": "@@ -74,46 +74,18 @@ public J visitBlock(J.Bl... | Java | Apache License 2.0 | openrewrite/rewrite | Update SimplifyConstantIfBranchExecution remove unreachable blocks and some polish |
478,630 | 23.06.2022 16:52:16 | 25,200 | 6789e6c1a252c1bfb617aca3185235b37cd8e63a | Fix failing to correctly parse groovy method invocations where the first argument is a map literal NOT being used for named parameters | [
{
"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": "@@ -530,7 +530,6 @@ public void visitArgumentlistExpression(ArgumentListExpressi... | Java | Apache License 2.0 | openrewrite/rewrite | Fix failing to correctly parse groovy method invocations where the first argument is a map literal NOT being used for named parameters |
478,630 | 23.06.2022 17:56:42 | 25,200 | 3acad4d700dc74dee2c7fe98eff1d1e551082388 | Fix GroovyParser handling of GStrings which contain characters that can be misiterpreted as string openers | [
{
"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": "@@ -1141,7 +1141,12 @@ public void visitGStringExpression(GStringExpression gstr... | Java | Apache License 2.0 | openrewrite/rewrite | Fix GroovyParser handling of GStrings which contain characters that can be misiterpreted as string openers |
478,630 | 23.06.2022 18:21:20 | 25,200 | 23f3d2d87c5ec746a1222f62aa0991cf2f5a52d3 | Fix Gradle recipes refuse to run on build scripts not named build.gradle | [
{
"change_type": "MODIFY",
"old_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/IsBuildGradle.java",
"new_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/IsBuildGradle.java",
"diff": "@Override\npublic JavaSourceFile visitJavaSourceFile(JavaSourceFile cu, P p) {\nSourceFile s... | Java | Apache License 2.0 | openrewrite/rewrite | Fix #1954 Gradle recipes refuse to run on build scripts not named build.gradle |
478,630 | 24.06.2022 13:11:32 | 25,200 | 3f3dad96ed80a357e0f2babeb785fce18b997186 | Support for trailing commas in groovy collection literals | [
{
"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": "@@ -505,7 +505,16 @@ public RewriteGroovyVisitor(ASTNode root, RewriteGroovyClas... | Java | Apache License 2.0 | openrewrite/rewrite | Support for trailing commas in groovy collection literals |
478,630 | 24.06.2022 14:35:05 | 25,200 | 8a55dfcbf67e466aa5eb38b13d0327e49c801e52 | Fix Groovy parsing of GStrings that contain empty constant expressions | [
{
"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": "@@ -1139,6 +1139,10 @@ public void visitGStringExpression(GStringExpression gstr... | Java | Apache License 2.0 | openrewrite/rewrite | Fix Groovy parsing of GStrings that contain empty constant expressions |
478,630 | 24.06.2022 14:55:54 | 25,200 | 667a8e926017b14c04576622c1d49df71cc87132 | Fix the licensing plugin adding an unwanted header into the shell scripts used in AddGradleWrapper, UpdateGradleWrapper | [
{
"change_type": "MODIFY",
"old_path": "build-src/build.gradle.kts",
"new_path": "build-src/build.gradle.kts",
"diff": "@@ -8,11 +8,12 @@ repositories {\ndependencies {\nimplementation(platform(kotlin(\"bom\")))\n+ implementation(kotlin(\"reflect\"))\n+ implementation(kotlin(\"script-runtime\"))\n+ ... | Java | Apache License 2.0 | openrewrite/rewrite | Fix the licensing plugin adding an unwanted header into the shell scripts used in AddGradleWrapper, UpdateGradleWrapper |
478,630 | 24.06.2022 16:23:06 | 25,200 | eacf3458ac74521aaef3f8a693780dd66fdf7466 | GroovyParser support for method declarations that omit parameter types | [
{
"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": "@@ -431,7 +431,12 @@ public void visitMethod(MethodNode method) {\n})\n.collect(... | Java | Apache License 2.0 | openrewrite/rewrite | GroovyParser support for method declarations that omit parameter types |
478,630 | 24.06.2022 17:05:44 | 25,200 | 8f1397d427338d9dbac32196b510d18e93bf26d4 | GroovyParser support for method parameter default values | [
{
"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": "@@ -444,6 +444,13 @@ public void visitMethod(MethodNode method) {\n);\ncursor +=... | Java | Apache License 2.0 | openrewrite/rewrite | GroovyParser support for method parameter default values |
478,630 | 24.06.2022 18:30:52 | 25,200 | 2db7c379dc050ede98bf6cd57a6657b73c1f0fbd | GroovyParser support for map access syntax | [
{
"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": "@@ -446,10 +446,11 @@ public void visitMethod(MethodNode method) {\norg.codehaus... | Java | Apache License 2.0 | openrewrite/rewrite | GroovyParser support for map access syntax |
478,630 | 24.06.2022 18:54:49 | 25,200 | 48a32987a7466e65b8749047b9231b7df08ca1a1 | GroovyParser support for return statements that do not return a value | [
{
"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": "@@ -1348,8 +1348,12 @@ public void visitPropertyExpression(PropertyExpression pr... | Java | Apache License 2.0 | openrewrite/rewrite | GroovyParser support for return statements that do not return a value |
478,630 | 25.06.2022 10:10:12 | 25,200 | ff4ff3fc0a90c9db04ae0fe114491f502da20eda | Fix GroovyParser throwing StringIndexOutOfBounds if source ends with a literal double, long, or float | [
{
"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": "@@ -1001,7 +1001,7 @@ public void visitConstantExpression(ConstantExpression exp... | Java | Apache License 2.0 | openrewrite/rewrite | Fix GroovyParser throwing StringIndexOutOfBounds if source ends with a literal double, long, or float |
478,630 | 25.06.2022 10:36:34 | 25,200 | 0834fead212495c6efadf3688090e556d55189cb | GroovyParser force numeric arguments to primitive types | [
{
"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": "import org.openrewrite.java.tree.*;\nimport org.openrewrite.marker.Markers;\n+im... | Java | Apache License 2.0 | openrewrite/rewrite | GroovyParser force numeric arguments to primitive types |
478,605 | 27.06.2022 11:17:48 | 25,200 | 6eec9a725ceec0635a3f14aa43060e87268b47b1 | Removed functionality to change class definitions from ChangeType in favor of RenameClass.
fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-benchmarks/src/jmh/java/org/openrewrite/benchmarks/java/ChangeTypeBenchmark.java",
"new_path": "rewrite-benchmarks/src/jmh/java/org/openrewrite/benchmarks/java/ChangeTypeBenchmark.java",
"diff": "@@ -43,7 +43,7 @@ public static void main(String[] args)... | Java | Apache License 2.0 | openrewrite/rewrite | Removed functionality to change class definitions from ChangeType in favor of RenameClass. (#1962)
fixes #1961 |
478,655 | 27.06.2022 21:38:42 | -7,200 | f7cefa9258a89ec551fd646a8fb089e9f726b0c0 | Add dispatch classes. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/tree/Dispatch1.java",
"diff": "+package org.openrewrite.java.tree;\n+\n+public abstract class Dispatch1<T,P1> {\n+\n+ private String className(J pp) {\n+ return pp.getClass().getName().replaceAll(\... | Java | Apache License 2.0 | openrewrite/rewrite | Add dispatch classes. |
478,605 | 27.06.2022 17:20:57 | 25,200 | 87d14f9d11f3c42cd6f061827eed5bc0f8785264 | Add remaining linebreaks in numerical order in JavaDocVisitors. | [
{
"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": "@@ -348,7 +348,7 @@ public Tree visitDocCo... | Java | Apache License 2.0 | openrewrite/rewrite | Add remaining linebreaks in numerical order in JavaDocVisitors. (#1966) |
478,605 | 27.06.2022 17:28:04 | 25,200 | bdcc680542226a037482dc678294f75e0aa24351 | Added FindVariableNamesInScope | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/search/FindVariableNamesInScope.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 ... | Java | Apache License 2.0 | openrewrite/rewrite | Added FindVariableNamesInScope (#1964) |
478,605 | 27.06.2022 19:00:46 | 25,200 | a9c77302d56d8d4ba9ccf53a9e414ac47088d4a6 | Polish. `FindVariableNamesInScope#find(..)` will include all names created in the `scope`. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/search/FindVariableNamesInScope.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/search/FindVariableNamesInScope.java",
"diff": "@@ -91,6 +91,7 @@ public Statement visitStatement(Statement stat... | Java | Apache License 2.0 | openrewrite/rewrite | Polish. `FindVariableNamesInScope#find(..)` will include all names created in the `scope`. |
478,605 | 28.06.2022 09:03:37 | 25,200 | f6b1cc478d982188377cb61845fb360e0c229754 | Polish. Replaced `visitIdentifier` with `visitVariable` in `VariableNameScopeVisitor`. Updated `postVisit` to always add names from aggregate scope and child scopes. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/search/FindVariableNamesInScope.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/search/FindVariableNamesInScope.java",
"diff": "@@ -91,23 +91,17 @@ public Statement visitStatement(Statement st... | Java | Apache License 2.0 | openrewrite/rewrite | Polish. Replaced `visitIdentifier` with `visitVariable` in `VariableNameScopeVisitor`. Updated `postVisit` to always add names from aggregate scope and child scopes. |
478,619 | 28.06.2022 11:50:24 | 25,200 | 980f9b38405aac5dc2613b1556817df6cdf2ab88 | RewriteTest should validate unchanged sources. fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/java/org/openrewrite/test/RewriteTest.java",
"new_path": "rewrite-test/src/main/java/org/openrewrite/test/RewriteTest.java",
"diff": "@@ -322,34 +322,17 @@ default void rewriteRun(Consumer<RecipeSpec> specChange, SourceSpec<?>... source\n... | Java | Apache License 2.0 | openrewrite/rewrite | RewriteTest should validate unchanged sources. fixes #1888 |
478,605 | 28.06.2022 16:36:12 | 25,200 | 5d061d923b2dc753f6b3d7fcd18e707c3b893f62 | Pin checkstyle back to 9.+. 10.+ does not support java 8.
fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/build.gradle.kts",
"new_path": "rewrite-java/build.gradle.kts",
"diff": "@@ -23,7 +23,7 @@ dependencies {\napi(\"org.jetbrains:annotations:latest.release\")\nimplementation(\"org.antlr:antlr4:4.9.+\")\n- compileOnly(\"com.puppycrawl.tools:checksty... | Java | Apache License 2.0 | openrewrite/rewrite | Pin checkstyle back to 9.+. 10.+ does not support java 8.
fixes #1958 |
478,605 | 28.06.2022 17:09:10 | 25,200 | 49019b5f38796817dd5213ff4015b14d7562bec0 | Apply `BlankLinesStyle$KeepMaximum.inDeclarations` to format `J.ClassDeclaration` prefix.
fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/format/BlankLinesVisitor.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/format/BlankLinesVisitor.java",
"diff": "@@ -114,6 +114,11 @@ public JavaSourceFile visitJavaSourceFile(JavaSourceFile ... | Java | Apache License 2.0 | openrewrite/rewrite | Apply `BlankLinesStyle$KeepMaximum.inDeclarations` to format `J.ClassDeclaration` prefix. (#1969)
fixes #1912 |
478,626 | 28.06.2022 20:47:41 | 18,000 | 1c8314da10a6ffb932664b6bb839b686e25bc41e | Add ChangeJavaCompatibility recipe | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeJavaCompatibility.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 ... | Java | Apache License 2.0 | openrewrite/rewrite | Add ChangeJavaCompatibility recipe (#1960) |
478,605 | 29.06.2022 08:52:24 | 25,200 | f34aee188ee233787aff121be9d12044a8cbd178 | Added change class definition visitor to `ChangeType.` | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/ChangeType.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/ChangeType.java",
"diff": "import org.openrewrite.ExecutionContext;\nimport org.openrewrite.Option;\nimport org.openrewrite.Recipe;\n... | Java | Apache License 2.0 | openrewrite/rewrite | Added change class definition visitor to `ChangeType.` (#1968) |
478,605 | 29.06.2022 15:56:21 | 25,200 | 5b5642dc5cbda249f3872714fcb3abd4f9d0e3f2 | Remove `RemoveUnusedLocalVariables` from `CommonStaticAnalysis` until it can be fixed with data-flow analysis. A `skipped` AST element that references the removed `unused` local variable will result in a compilation error. | [
{
"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": "@@ -63,7 +63,7 @@ recipeList:\n- org.openrewrite.java.cleanup.RemoveExtraSemicol... | Java | Apache License 2.0 | openrewrite/rewrite | Remove `RemoveUnusedLocalVariables` from `CommonStaticAnalysis` until it can be fixed with data-flow analysis. A `skipped` AST element that references the removed `unused` local variable will result in a compilation error. |
478,630 | 29.06.2022 18:40:42 | 25,200 | 8611592b6024d16eae9fceb243ab347328bac2ac | Actually use the classloader passed in to scanClasses() | [
{
"change_type": "MODIFY",
"old_path": "rewrite-core/src/main/java/org/openrewrite/config/ClasspathScanningLoader.java",
"new_path": "rewrite-core/src/main/java/org/openrewrite/config/ClasspathScanningLoader.java",
"diff": "@@ -116,6 +116,7 @@ private void scanYaml(ClassGraph classGraph, Properties ... | Java | Apache License 2.0 | openrewrite/rewrite | Actually use the classloader passed in to scanClasses() |
478,626 | 30.06.2022 13:39:15 | 18,000 | d1cd7bb55a72e0d8c705cd18f6ebb966ad6e4013 | Increase code coverage and add support for single quoted strings | [
{
"change_type": "MODIFY",
"old_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeJavaCompatibility.java",
"new_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeJavaCompatibility.java",
"diff": "public class ChangeJavaCompatibility extends Recipe {\n@Option(displayNa... | Java | Apache License 2.0 | openrewrite/rewrite | Increase code coverage and add support for single quoted strings (#1977) |
478,630 | 30.06.2022 13:02:53 | 25,200 | 742c8ee486012bf7d9abc31f8f6af6560c7ae397 | Disable failing dataflow tests | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/dataflow2/DataFlowGraphTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/dataflow2/DataFlowGraphTest.kt",
"diff": "package org.openrewrite.java.dataflow2\nimport org.assertj.core.api.Asse... | Java | Apache License 2.0 | openrewrite/rewrite | Disable failing dataflow tests |
478,630 | 30.06.2022 13:15:14 | 25,200 | c427d1bbd4549b2f204d8f1b50b3546b2d55394c | Sort out remaining failing tests | [
{
"change_type": "MODIFY",
"old_path": "rewrite-groovy/src/test/kotlin/org/openrewrite/groovy/GroovyTypeAttributionTest.kt",
"new_path": "rewrite-groovy/src/test/kotlin/org/openrewrite/groovy/GroovyTypeAttributionTest.kt",
"diff": "@@ -23,6 +23,7 @@ import org.junit.jupiter.api.Test\nimport org.open... | Java | Apache License 2.0 | openrewrite/rewrite | Sort out remaining failing tests |
478,605 | 30.06.2022 13:26:23 | 25,200 | 45613718fd096237459b916411b502284e2e1e66 | Polish. Update getCursorToParentScope() to use JavaSourceFile and improved cursor aggregation in RenameVariable. Prevent NPE in from variable.getName().getFieldType().getOwner() in RenameVariable. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/RenameVariable.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/RenameVariable.java",
"diff": "import org.openrewrite.internal.StringUtils;\nimport org.openrewrite.internal.lang.Nullable;\nimpo... | Java | Apache License 2.0 | openrewrite/rewrite | Polish. Update getCursorToParentScope() to use JavaSourceFile and improved cursor aggregation in RenameVariable. Prevent NPE in from variable.getName().getFieldType().getOwner() in RenameVariable. |
478,642 | 30.06.2022 16:35:06 | 14,400 | 0ec98eaa82e96ea87c1521a009ac52ad5b77a4e1 | Adjusted ChangeDependencyGroupIdAndArtifactId to allow null newGroupId and newArtifactId, enabling flexible new use cases (ie change only group id across wildcard artifacts in an existing group id) | [
{
"change_type": "MODIFY",
"old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/ChangeDependencyGroupIdAndArtifactId.java",
"new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/ChangeDependencyGroupIdAndArtifactId.java",
"diff": "@EqualsAndHashCode(callSuper = true)\npublic class... | Java | Apache License 2.0 | openrewrite/rewrite | Adjusted ChangeDependencyGroupIdAndArtifactId to allow null newGroupId and newArtifactId, enabling flexible new use cases (ie change only group id across wildcard artifacts in an existing group id) (#1971) |
478,605 | 30.06.2022 13:53:09 | 25,200 | 081f93af6b1db23f4b8fa223a223940a14acc370 | Polish. Updated FindVariableNamesInScope#findNamesInScope(..) to only require a cursor. Updated FindVariableNamesInScope to use JavaSourceFile to for compatibility with Groovy | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/search/FindVariableNamesInScope.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/search/FindVariableNamesInScope.java",
"diff": "import org.openrewrite.*;\nimport org.openrewrite.internal.lang.... | Java | Apache License 2.0 | openrewrite/rewrite | Polish. Updated FindVariableNamesInScope#findNamesInScope(..) to only require a cursor. Updated FindVariableNamesInScope to use JavaSourceFile to for compatibility with Groovy |
478,605 | 30.06.2022 17:04:13 | 25,200 | 106a5fd3f108d7c89c8a737836e0dd4e4e0415f1 | Only add imported static field names when possible in VariableNameScopeVisitor.
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": "@@ -195,12 +195,19 @@ private void addImportedStaticFieldNames(@Nullable J.CompilationUnit c... | Java | Apache License 2.0 | openrewrite/rewrite | Only add imported static field names when possible in VariableNameScopeVisitor. (#1982)
fixes #1978. |
478,626 | 30.06.2022 22:09:08 | 18,000 | ba1a45ada6838e7aa1f58aeb47635a969dca85c8 | Add DependencyUseStringNotation recipe. Fixed up DependencyUseMapNotation recipe to not drop the closure argument, if present | [
{
"change_type": "MODIFY",
"old_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/DependencyUseMapNotation.java",
"new_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/DependencyUseMapNotation.java",
"diff": "@@ -84,7 +84,13 @@ public J visitMethodInvocation(J.MethodInvocation m... | Java | Apache License 2.0 | openrewrite/rewrite | Add DependencyUseStringNotation recipe. Fixed up DependencyUseMapNotation recipe to not drop the closure argument, if present (#1983) |
478,655 | 01.07.2022 12:45:45 | -7,200 | 0c3ecf50e84b3de866a9affa048d45f9e5185bbc | Move ZipSlipTest to java-11. | [
{
"change_type": "RENAME",
"old_path": "rewrite-java/src/test/kotlin/org/openrewrite/java/dataflow2/ZipSlip.java",
"new_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/dataflow2/ZipSlip.java",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "rewrite-java/src/test/kotlin... | Java | Apache License 2.0 | openrewrite/rewrite | Move ZipSlipTest to java-11. |
478,655 | 01.07.2022 13:25:42 | -7,200 | 190fa612043b97045bcc9f6adb57de1fc3952ef1 | Import tests. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/dataflow2/ZipSlipTest.kt",
"new_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/dataflow2/ZipSlipTest.kt",
"diff": "*/\npackage org.openrewrite.java.dataflow2\n+import org.assertj.core.api.Asser... | Java | Apache License 2.0 | openrewrite/rewrite | Import tests. |
478,655 | 01.07.2022 14:12:42 | -7,200 | ac157d3110fd4245a8c2286881bfb0983706b87d | Undo breaking change. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/dataflow2/ProgramState.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/dataflow2/ProgramState.java",
"diff": "@@ -61,9 +61,6 @@ public T expr(int depth) {\n}\npublic ProgramState<T> push(@Null... | Java | Apache License 2.0 | openrewrite/rewrite | Undo breaking change. |
478,655 | 01.07.2022 14:13:58 | -7,200 | 13faca77b69d0e5c7274de92c989e3397875323f | Disable incomplete tests. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/dataflow2/ZipSlipTest.kt",
"new_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/dataflow2/ZipSlipTest.kt",
"diff": "package org.openrewrite.java.dataflow2\nimport org.assertj.core.api.Assertions... | Java | Apache License 2.0 | openrewrite/rewrite | Disable incomplete tests. |
478,655 | 01.07.2022 14:45:36 | -7,200 | d19b287a200c4ce677e71f54e3cfe9312aed1ffd | Remove assertion about combining non-empty stacks. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/dataflow2/ProgramState.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/dataflow2/ProgramState.java",
"diff": "@@ -111,11 +111,11 @@ public T get(@Nullable JavaType.Variable ident) {\n// ... co... | Java | Apache License 2.0 | openrewrite/rewrite | Remove assertion about combining non-empty stacks. |
478,605 | 01.07.2022 10:30:19 | 25,200 | 5e822836653f5f018b3629e2bc96224e65fb0409 | Polish. Handle an existing postfix in a variable name in `VariableNameUtils#generateVariableName`. | [
{
"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": "@@ -42,10 +42,22 @@ private VariableNameUtils() {\n*/\npublic static String generateVariable... | Java | Apache License 2.0 | openrewrite/rewrite | Polish. Handle an existing postfix in a variable name in `VariableNameUtils#generateVariableName`. |
478,630 | 05.07.2022 20:44:09 | 25,200 | 01a19be5dddd39f488074af1da5ad949109b4103 | GroovyParser support for method invocations with empty argument lists preceeding a closure | [
{
"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": "@@ -1262,8 +1262,10 @@ public void visitMethodCallExpression(MethodCallExpressio... | Java | Apache License 2.0 | openrewrite/rewrite | GroovyParser support for method invocations with empty argument lists preceeding a closure |
478,642 | 06.07.2022 15:11:29 | 14,400 | 1d77003dbd1bc653fb51399e7b2e9107e63771c2 | Fixing exception with obscure edge case where code obfuscaters can generate inner classes which don't share a common package prefix with their outer class (cc Jonathan Schneider) | [
{
"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": "@@ -216,6 +216,10 @@ private static String declarableFullyQualifiedName(ClassInfo clas... | Java | Apache License 2.0 | openrewrite/rewrite | Fixing exception with obscure edge case where code obfuscaters can generate inner classes which don't share a common package prefix with their outer class (cc Jonathan Schneider) (#2002) |
478,605 | 06.07.2022 16:29:09 | 25,200 | e000086e9179e6c8cc787792ba24e5c884ede498 | Update types for bounded generic types, parameters of parameterized types, and multidimensional arrays in ChangePackage.
Only create one type per FQN in ChangePackage.
Fix several afterConditions in ChangePackageTest.
Do not remove import if package does not match package name of import.
fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/ChangePackage.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/ChangePackage.java",
"diff": "import org.openrewrite.java.tree.*;\nimport java.nio.file.Paths;\n+import java.util.HashMap;\n+impor... | Java | Apache License 2.0 | openrewrite/rewrite | Update types for bounded generic types, parameters of parameterized types, and multidimensional arrays in ChangePackage. (#2003)
Only create one type per FQN in ChangePackage.
Fix several afterConditions in ChangePackageTest.
Do not remove import if package does not match package name of import.
fixes #1997 |
478,605 | 06.07.2022 16:52:37 | 25,200 | 68142ec9f89eadca43f5a8a0850edeb08a893f91 | Polish. Renamed test to reflect intended change in ChangePackageTest. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/ChangePackageTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/ChangePackageTest.kt",
"diff": "@@ -423,7 +423,7 @@ interface ChangePackageTest: JavaRecipeTest, RewriteTest {\n@Issue(\"htt... | Java | Apache License 2.0 | openrewrite/rewrite | Polish. Renamed test to reflect intended change in ChangePackageTest. |
478,630 | 06.07.2022 21:51:29 | 25,200 | b3acdb2d31fe8d928903607448c9418616b91849 | Use the latest version of the gradle enterprise plugin in build-src. This aligns the version with that of the main build | [
{
"change_type": "MODIFY",
"old_path": "build-src/settings.gradle.kts",
"new_path": "build-src/settings.gradle.kts",
"diff": "plugins {\n- id(\"com.gradle.enterprise\") version \"3.10.1\"\n- id(\"com.gradle.enterprise.test-distribution\") version \"2.3.1\"\n+ id(\"com.gradle.enterprise\") version \"... | Java | Apache License 2.0 | openrewrite/rewrite | Use the latest version of the gradle enterprise plugin in build-src. This aligns the version with that of the main build |
478,630 | 06.07.2022 21:51:56 | 25,200 | 5c4f14e8cbe0619e2b15538781aa5ac8c2a8c6ea | Allow the maven repository used in the build and tests to be configured with a system property. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -23,3 +23,23 @@ Try it yourself at https://app.moderne.io, now in open beta.\nThis project is maintained by [Moderne](https://moderne.io/).\nVisit us at https://moderne.io to learn how to remove the tedium, tech... | Java | Apache License 2.0 | openrewrite/rewrite | Allow the maven repository used in the build and tests to be configured with a system property. |
478,642 | 06.07.2022 15:49:22 | 14,400 | 84d48834807bf11e1fb107f2c0a19811d1ec3252 | MavenSettings can now be parsed from `settings.xml` in well-known environment locations, and RewriteTest + MavenRecipeTest now use this feature in their default ExecutionContexts given property `org.openrewrite.test.readMavenSettingsFromDisk` | [
{
"change_type": "MODIFY",
"old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/MavenSettings.java",
"new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/MavenSettings.java",
"diff": "import lombok.experimental.NonFinal;\nimport org.openrewrite.ExecutionContext;\nimport org.openr... | Java | Apache License 2.0 | openrewrite/rewrite | MavenSettings can now be parsed from `settings.xml` in well-known environment locations, and RewriteTest + MavenRecipeTest now use this feature in their default ExecutionContexts given property `org.openrewrite.test.readMavenSettingsFromDisk` (#1801) |
478,630 | 07.07.2022 09:09:26 | 25,200 | 26f721fed9099450644173bcc3e767120c666db1 | Remove types not present in Gradle 4.0, which inhibited gradle parsing on some older builds | [
{
"change_type": "MODIFY",
"old_path": "rewrite-gradle/src/main/resources/RewriteGradleProject.groovy",
"new_path": "rewrite-gradle/src/main/resources/RewriteGradleProject.groovy",
"diff": "@@ -244,8 +244,6 @@ interface RewriteTestSpec {\nvoid setEnableAssertions(boolean enabled)\nboolean getDebug()... | Java | Apache License 2.0 | openrewrite/rewrite | Remove types not present in Gradle 4.0, which inhibited gradle parsing on some older builds |
478,605 | 07.07.2022 10:52:36 | 25,200 | 39a1b0a763f64b9adc31b4315a41aca530bea62b | Polish. Fix String index out of bounds on empty package name. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/ChangeType.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/ChangeType.java",
"diff": "@@ -166,14 +166,16 @@ private String getTopLevelClassName(JavaType.FullyQualified classType) {\npublic J.P... | Java | Apache License 2.0 | openrewrite/rewrite | Polish. Fix String index out of bounds on empty package name. |
478,605 | 07.07.2022 12:13:47 | 25,200 | 0e4690d318423e50b92d7152e42fba3535c42246 | Refactored change type so that `#getVisitor()#visit()` works at every cursor position.
fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/ChangeType.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/ChangeType.java",
"diff": "import lombok.EqualsAndHashCode;\nimport lombok.Value;\n-import org.openrewrite.ExecutionContext;\n-import... | Java | Apache License 2.0 | openrewrite/rewrite | Refactored change type so that `#getVisitor()#visit()` works at every cursor position. (#2009)
fixes #2008 |
478,642 | 07.07.2022 18:36:32 | 14,400 | 0b8a6dc035cb2e618454dd673fdb864977ef1c12 | Adding XML ChangeTagName recipe | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "rewrite-xml/src/main/java/org/openrewrite/xml/ChangeTagName.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 ex... | Java | Apache License 2.0 | openrewrite/rewrite | Adding XML ChangeTagName recipe (#2010) |
478,605 | 07.07.2022 18:01:40 | 25,200 | 2284b8bec1037363a63450b5e102d38a5d406611 | Added support for `JavaType.Variable` in `ChangePackage`. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/ChangePackage.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/ChangePackage.java",
"diff": "@@ -164,7 +164,7 @@ public JavaSourceFile visitJavaSourceFile(JavaSourceFile cu, ExecutionContext ct... | Java | Apache License 2.0 | openrewrite/rewrite | Added support for `JavaType.Variable` in `ChangePackage`. (#2013) |
478,605 | 07.07.2022 18:45:06 | 25,200 | e1b41968d2f876e9aa232b4dfa391422400d4749 | Fix updateClassPrefixWithEmptyPackage in ChangePackageTest. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/ChangePackage.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/ChangePackage.java",
"diff": "@@ -164,7 +164,7 @@ public JavaSourceFile visitJavaSourceFile(JavaSourceFile cu, ExecutionContext ct... | Java | Apache License 2.0 | openrewrite/rewrite | Fix updateClassPrefixWithEmptyPackage in ChangePackageTest. |
478,626 | 07.07.2022 22:48:03 | 18,000 | 59822b5fec0a33a0c6d893c287a0ca94a125809b | Handle the variable expression better when changing java compatibility | [
{
"change_type": "MODIFY",
"old_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeJavaCompatibility.java",
"new_path": "rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeJavaCompatibility.java",
"diff": "@@ -75,10 +75,19 @@ public String getDescription() {\npublic J visitAssi... | Java | Apache License 2.0 | openrewrite/rewrite | Handle the variable expression better when changing java compatibility (#2015) |
478,605 | 08.07.2022 08:56:02 | 25,200 | f4f353de0d46c27e5c176a0aafd4e72d5a7cef5f | Only create one new JavaType.Method per signature in ChangePackage. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/ChangePackage.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/ChangePackage.java",
"diff": "@@ -213,7 +213,7 @@ public J postVisit(J tree, ExecutionContext executionContext) {\n@Nullable\npriv... | Java | Apache License 2.0 | openrewrite/rewrite | Only create one new JavaType.Method per signature in ChangePackage. (#2018) |
478,605 | 08.07.2022 09:13:51 | 25,200 | 9bd8d50376fe28b92ba92a230e4010b449b485f5 | Added support to replace J.NewArray in JavaTemplate. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/JavaTemplate.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/JavaTemplate.java",
"diff": "@@ -453,6 +453,15 @@ public J visitMethodInvocation(J.MethodInvocation method, Integer integer) {\nret... | Java | Apache License 2.0 | openrewrite/rewrite | Added support to replace J.NewArray in JavaTemplate. (#2014) |
478,642 | 08.07.2022 17:04:15 | 14,400 | bde437bcf88311acd68a0c0bc3422b275a9aa1e5 | Fixed regression on default behavior of RemoveRedundantDependencyVersions | [
{
"change_type": "MODIFY",
"old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/RemoveRedundantDependencyVersions.java",
"new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/RemoveRedundantDependencyVersions.java",
"diff": "String artifactPattern;\n@Option(displayName = \"Only if... | Java | Apache License 2.0 | openrewrite/rewrite | Fixed regression on default behavior of RemoveRedundantDependencyVersions (#2021) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.