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 | 08.07.2021 14:05:29 | 25,200 | 4a8db881e28dac0366f739602f62656cc244caff | Replace reference to non-existent ResultOfFileMkdirsIgnored recipe with ResultOfMethodCallIgnored. Fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/resources/META-INF/rewrite/security-bugs.yml",
"new_path": "rewrite-java/src/main/resources/META-INF/rewrite/security-bugs.yml",
"diff": "@@ -21,6 +21,7 @@ description: Applies security best practices to Java code.\ntags:\n- security\nrec... | Java | Apache License 2.0 | openrewrite/rewrite | Replace reference to non-existent ResultOfFileMkdirsIgnored recipe with ResultOfMethodCallIgnored. Fixes #753 |
478,605 | 08.07.2021 15:25:14 | 25,200 | 47845d64b2a7f289f91ec7584d498d7557c51569 | Removed declarative styles eureka.yml and genie.yml. fixes | [
{
"change_type": "DELETE",
"old_path": "rewrite-java/src/main/resources/META-INF/rewrite/eureka.yml",
"new_path": null,
"diff": "-#\n-# Copyright 2021 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 except in... | Java | Apache License 2.0 | openrewrite/rewrite | Removed declarative styles eureka.yml and genie.yml. fixes #757 |
478,605 | 08.07.2021 17:15:22 | 25,200 | dbd0f29d90ed04c9548c390d495eec3b61b75a98 | Fixed handling of new lines with CRLF in comment formatting in TabsAndIndentsVisitor. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/format/TabsAndIndentsVisitor.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/format/TabsAndIndentsVisitor.java",
"diff": "@@ -560,7 +560,6 @@ private Comment indentMultilineComment(Comment com... | Java | Apache License 2.0 | openrewrite/rewrite | Fixed handling of new lines with CRLF in comment formatting in TabsAndIndentsVisitor. |
478,630 | 09.07.2021 15:01:00 | 25,200 | 7d118c7aee7c1ea1806bb59dd9c58e5f23b6d425 | Implement cleanup recipes for empty for iterators & initializers, finalize classes with all private constructors
This incorporates `EmptyForInitializerPad` and `EmptyForIteratorPad` from the defunct rewrite-checkstyle into SpacesVisitor. `FinalClass` has been updated, is still its own visitor. Closes Fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-core/src/main/java/org/openrewrite/style/StyleHelper.java",
"new_path": "rewrite-core/src/main/java/org/openrewrite/style/StyleHelper.java",
"diff": "@@ -43,6 +43,11 @@ private static boolean isPrimitiveOrWrapper(Object value) {\nreturn type.isPrimitiv... | Java | Apache License 2.0 | openrewrite/rewrite | Implement cleanup recipes for empty for iterators & initializers, finalize classes with all private constructors (#760)
This incorporates `EmptyForInitializerPad` and `EmptyForIteratorPad` from the defunct rewrite-checkstyle into SpacesVisitor. `FinalClass` has been updated, is still its own visitor. Closes #749. Fixes #758. |
478,610 | 29.06.2021 14:04:29 | -7,200 | 65d997a9c34c4c275b9d0430079b904290afd6b6 | First attempt to provide annotation information to JavaType.Class | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java-11/src/main/java/org/openrewrite/java/Java11ParserVisitor.java",
"new_path": "rewrite-java-11/src/main/java/org/openrewrite/java/Java11ParserVisitor.java",
"diff": "@@ -1702,6 +1702,7 @@ private JavaType type(@Nullable com.sun.tools.javac.code.Typ... | Java | Apache License 2.0 | openrewrite/rewrite | First attempt to provide annotation information to JavaType.Class |
478,636 | 12.07.2021 13:01:03 | 25,200 | 114af610ad8445d072cee178565731b2dd32a1d6 | Polish. Remove unnecessary constructor with system out message. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/OrderImports.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/OrderImports.java",
"diff": "@Option(displayName = \"Remove unused\", description = \"Remove unnecessary imports.\", required = fal... | Java | Apache License 2.0 | openrewrite/rewrite | Polish. Remove unnecessary constructor with system out message. |
478,630 | 12.07.2021 14:25:02 | 25,200 | ee6f4586affb020ae652d37ffdb28b2be465bde3 | Fix OrderImports zero-arg constructor related test failure, clean up FinalClass | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/OrderImports.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/OrderImports.java",
"diff": "@Option(displayName = \"Remove unused\", description = \"Remove unnecessary imports.\", required = fal... | Java | Apache License 2.0 | openrewrite/rewrite | Fix OrderImports zero-arg constructor related test failure, clean up FinalClass |
478,632 | 13.07.2021 12:10:10 | 18,000 | 2f285d36d50561cb5765da1ae1de966519ebaa94 | Add ContainerImage helper | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "rewrite-core/src/main/java/org/openrewrite/artifacts/ContainerImage.java",
"diff": "+/*\n+ * Copyright 2021 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 | Add ContainerImage helper (#767) |
478,641 | 13.07.2021 18:36:31 | 18,000 | 71bf52708f8681604a43ec2f3558b979c01cd88a | string literal equality cleanup | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"new_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"diff": "@@ -289,6 +289,10 @@ class Java11TypeTest : Java11Test, JavaTypeTest\n@Ext... | Java | Apache License 2.0 | openrewrite/rewrite | string literal equality cleanup (#769) |
478,641 | 13.07.2021 18:36:51 | 18,000 | bd3237d9713f76fbc194dd8e413453886220daf9 | No Finalizer cleanup | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"new_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"diff": "@@ -209,6 +209,10 @@ class Java11MinimumViableSpacingTest : Java11Test, Mi... | Java | Apache License 2.0 | openrewrite/rewrite | No Finalizer cleanup (#770) |
478,630 | 14.07.2021 14:32:34 | 25,200 | 5d540c9c1773eb225f757ce81357fb5ffe6650d6 | Fixes AddImport shouldn't add imports to symbols in the same package as the current compilation unit. Fixes Change the type of the type declaration in CU | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/AddImport.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/AddImport.java",
"diff": "@@ -71,6 +71,15 @@ public AddImport(String type, @Nullable String statik, boolean onlyIfReferenced)\nreturn ... | Java | Apache License 2.0 | openrewrite/rewrite | Fixes #777, AddImport shouldn't add imports to symbols in the same package as the current compilation unit. Fixes #775, Change the type of the type declaration in CU |
478,605 | 14.07.2021 15:33:28 | 25,200 | 33efb83d6e9392bf68718da10c3aaad0864abff5 | Adjusted for loop control in ImportLayoutStyle#addImport. Removed disabled from a test in RemovedUnusedImports that works now. fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/style/ImportLayoutStyle.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/style/ImportLayoutStyle.java",
"diff": "@@ -170,7 +170,7 @@ public ImportLayoutStyle(int classCountToUseStarImport, int ... | Java | Apache License 2.0 | openrewrite/rewrite | Adjusted for loop control in ImportLayoutStyle#addImport. Removed disabled from a test in RemovedUnusedImports that works now. fixes #776 (#778) |
478,605 | 14.07.2021 17:48:13 | 25,200 | 7e60e66e56cf11362e663b0fa5bcab29097696a2 | Set starFoldTo relative to the insert position in ImportLayoutStyle#addImport. Fixes failing test. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/style/ImportLayoutStyle.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/style/ImportLayoutStyle.java",
"diff": "@@ -170,7 +170,7 @@ public ImportLayoutStyle(int classCountToUseStarImport, int ... | Java | Apache License 2.0 | openrewrite/rewrite | Set starFoldTo relative to the insert position in ImportLayoutStyle#addImport. Fixes failing test. |
478,605 | 14.07.2021 19:39:23 | 25,200 | 43e83bd77737d07e5f699650fc41e2a1cac3e8fc | Check if ideallyOrdered and original import list contain the same imports in ImportLayoutStyle#addImport. fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/style/ImportLayoutStyle.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/style/ImportLayoutStyle.java",
"diff": "@@ -117,9 +117,21 @@ public ImportLayoutStyle(int classCountToUseStarImport, int... | Java | Apache License 2.0 | openrewrite/rewrite | Check if ideallyOrdered and original import list contain the same imports in ImportLayoutStyle#addImport. fixes #780. |
478,605 | 14.07.2021 19:44:11 | 25,200 | ccbb1f90f44b22a395cb43d6bc8dcd2f33e4fa0f | Refactor test in AddImportTest to remove warnings. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/style/ImportLayoutStyle.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/style/ImportLayoutStyle.java",
"diff": "@@ -182,7 +182,7 @@ public ImportLayoutStyle(int classCountToUseStarImport, int ... | Java | Apache License 2.0 | openrewrite/rewrite | Refactor test in AddImportTest to remove warnings. |
478,630 | 14.07.2021 20:56:47 | 25,200 | 59e8e0d8942e4c4a62c093d1c3a4665dd7daa66b | Fix test I apparently shouldn't have messed with | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/UseStaticImportTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/UseStaticImportTest.kt",
"diff": "@@ -53,9 +53,7 @@ interface UseStaticImportTest : JavaRecipeTest {\nafter = \"\"\"\npack... | Java | Apache License 2.0 | openrewrite/rewrite | Fix test I apparently shouldn't have messed with |
478,605 | 15.07.2021 10:33:17 | 25,200 | 7bc1cc25b7d3adb6a85118f8dcf9cb8b72f0fe47 | Prevent unfolding imports that already exist in the CU in RemoveImport recipe. fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/RemoveImport.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/RemoveImport.java",
"diff": "@@ -48,6 +48,12 @@ public RemoveImport(String type) {\nSet<String> methodsAndFieldsUsed = new HashSet<... | Java | Apache License 2.0 | openrewrite/rewrite | Prevent unfolding imports that already exist in the CU in RemoveImport recipe. fixes #784. |
478,641 | 15.07.2021 14:49:00 | 18,000 | 9739c2567dc052b382e4301e63efa4aedbcbfff6 | SpacesStyle.withBeforeParentheses.withMethodCall controls spacing on class constructors | [
{
"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": "@@ -1029,6 +1029,7 @@ public SpacesVisitor(SpacesStyle style, @Nullable Tree stopAfter... | Java | Apache License 2.0 | openrewrite/rewrite | SpacesStyle.withBeforeParentheses.withMethodCall controls spacing on class constructors (#786) |
478,605 | 15.07.2021 12:53:11 | 25,200 | 9b6bd8837e506037cdb533aea2f5c01fa5110685 | Set new UUID on each unfolded import in RemoveImport#unfoldStarImport. fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/RemoveImport.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/RemoveImport.java",
"diff": "import java.util.*;\nimport java.util.concurrent.atomic.AtomicReference;\n+import static org.openrewri... | Java | Apache License 2.0 | openrewrite/rewrite | Set new UUID on each unfolded import in RemoveImport#unfoldStarImport. fixes #781 |
478,605 | 15.07.2021 13:09:00 | 25,200 | b2a62665a5424bef34aac106a948fa76e5fc5093 | Added assertion of afterConditions to generateNewUUIDPerUnfoldedImport to improve clarity in RemoveImportTest. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/RemoveImportTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/RemoveImportTest.kt",
"diff": "*/\npackage org.openrewrite.java\n+import org.assertj.core.api.Assertions\nimport org.junit.ju... | Java | Apache License 2.0 | openrewrite/rewrite | Added assertion of afterConditions to generateNewUUIDPerUnfoldedImport to improve clarity in RemoveImportTest. |
478,630 | 15.07.2021 17:16:09 | 25,200 | 19c7e80dc205685ddaebefe5a97ff04e50a5bcf4 | Ensure that checkstyle modules can be loaded whether or not they end in the word 'Check' | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/checkstyle/java/org/openrewrite/java/style/CheckstyleConfigLoader.java",
"new_path": "rewrite-java/src/checkstyle/java/org/openrewrite/java/style/CheckstyleConfigLoader.java",
"diff": "@@ -130,7 +130,7 @@ private static EmptyBlockStyle emptyBl... | Java | Apache License 2.0 | openrewrite/rewrite | Ensure that checkstyle modules can be loaded whether or not they end in the word 'Check' |
478,619 | 15.07.2021 18:46:56 | 25,200 | e47890065983eb7addcb722dea1dd2a51ce8a282 | Fixing the logic in addImports | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/style/ImportLayoutStyle.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/style/ImportLayoutStyle.java",
"diff": "@@ -144,18 +144,28 @@ public ImportLayoutStyle(int classCountToUseStarImport, in... | Java | Apache License 2.0 | openrewrite/rewrite | Fixing the logic in addImports (#790) |
478,605 | 16.07.2021 14:04:00 | 25,200 | 27d6ef05fe64692a0ed7672aa0529f925dbb46f3 | Added new line character type stats to TabsAndIndentsStyle through Autodetect. | [
{
"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": "@@ -66,13 +66,20 @@ public static Autodetect detect(List<J.CompilationUnit> cus) {\nprivate fi... | Java | Apache License 2.0 | openrewrite/rewrite | Added new line character type stats to TabsAndIndentsStyle through Autodetect. (#791) |
478,605 | 16.07.2021 15:55:40 | 25,200 | 86511d02107c1bbf04e8efa77c46f33697d33a80 | Added preservation of new line character types in ImportLayoutStyle#orderImports. fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/style/ImportLayoutStyle.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/style/ImportLayoutStyle.java",
"diff": "@@ -303,6 +303,7 @@ private Block block(JRightPadded<J.Import> anImport) {\nint ... | Java | Apache License 2.0 | openrewrite/rewrite | Added preservation of new line character types in ImportLayoutStyle#orderImports. fixes #787. (#792) |
478,641 | 19.07.2021 00:23:40 | 18,000 | 2188a84e4cce80e7b7cc6fc3475f735bf1f4908c | Cleanup, replace multiple variable declarations with individual single-line declarations | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"new_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"diff": "@@ -209,6 +209,10 @@ class Java11MinimumViableSpacingTest : Java11Test, Mi... | Java | Apache License 2.0 | openrewrite/rewrite | Cleanup, replace multiple variable declarations with individual single-line declarations (#794) |
478,641 | 19.07.2021 01:34:03 | 18,000 | c688be6473896f17d2fb01d3f1942d12f35ca4f7 | multiple variable declarations comments placement tests | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/MultipleVariableDeclarationsVisitor.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/MultipleVariableDeclarationsVisitor.java",
"diff": "import org.openrewrite.Tree;\nimport org... | Java | Apache License 2.0 | openrewrite/rewrite | multiple variable declarations comments placement tests |
478,641 | 19.07.2021 14:00:39 | 18,000 | 090413403f4a751f7d23626dbafe5c88fe8dbcae | UnnecessaryParenthesesTest polish, suppress warnings, unused imports, test for | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/UnnecessaryParenthesesTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/UnnecessaryParenthesesTest.kt",
"diff": "@@ -17,14 +17,18 @@ package org.openrewrite.java.cleanup\n... | Java | Apache License 2.0 | openrewrite/rewrite | UnnecessaryParenthesesTest polish, suppress warnings, unused imports, test for [#798] |
478,605 | 19.07.2021 12:48:06 | 25,200 | db9aa369a75d340fbb0f85f47ff7074bb80c6cc9 | Refactored preservation of newline characters in ImportLayoutStyle#orderImports. Ensured, all the newline return types are the same in the new prefix. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/style/ImportLayoutStyle.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/style/ImportLayoutStyle.java",
"diff": "import lombok.EqualsAndHashCode;\nimport lombok.Getter;\nimport org.openrewrite.... | Java | Apache License 2.0 | openrewrite/rewrite | Refactored preservation of newline characters in ImportLayoutStyle#orderImports. Ensured, all the newline return types are the same in the new prefix. |
478,641 | 19.07.2021 15:21:25 | 18,000 | af3434e2b1cad5ceff1d7626b0b29dc404afd9b8 | restructure test for | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/UnnecessaryParenthesesTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/UnnecessaryParenthesesTest.kt",
"diff": "@@ -133,46 +133,30 @@ interface UnnecessaryParenthesesTest... | Java | Apache License 2.0 | openrewrite/rewrite | restructure test for [#798] |
478,605 | 19.07.2021 17:44:35 | 25,200 | d95b49c3316147bf069f88f2fbb1d8a81a645f51 | Fix alignment of closing paren when method starts with an in-line block comment. fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/format/TabsAndIndentsVisitor.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/format/TabsAndIndentsVisitor.java",
"diff": "@@ -128,7 +128,7 @@ public Space visitSpace(Space space, Space.Locatio... | Java | Apache License 2.0 | openrewrite/rewrite | Fix alignment of closing paren when method starts with an in-line block comment. fixes #708. |
478,641 | 20.07.2021 14:53:42 | 18,000 | dde95eafd32ea97ed7475b59868ea922e34937f1 | indexOf should not compare greater than zero | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"new_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"diff": "@@ -185,6 +185,10 @@ class Java11HiddenFieldTest : Java11Test, HiddenField... | Java | Apache License 2.0 | openrewrite/rewrite | indexOf should not compare greater than zero [#799] (#814) |
478,630 | 20.07.2021 17:35:05 | 25,200 | 80a271cd92f6d0ccebd16ec1edc308cee496def0 | Fix RecipeTest inverts actual and expected in error output | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/RecipeTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/RecipeTest.kt",
"diff": "@@ -123,8 +123,8 @@ interface RecipeTest <T: SourceFile> {\nassertThat(result).`as`(\"The recipe must make changes\"... | Java | Apache License 2.0 | openrewrite/rewrite | Fix #815 RecipeTest inverts actual and expected in error output |
478,630 | 20.07.2021 18:09:17 | 25,200 | 6957b10ef3272f4b93c315ca62417ee3aa5d4b9a | Fix test failure in MultipleVariableDeclarationsTest | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/MultipleVariableDeclarationsVisitor.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/MultipleVariableDeclarationsVisitor.java",
"diff": "import java.util.ArrayList;\nimport java... | Java | Apache License 2.0 | openrewrite/rewrite | Fix test failure in MultipleVariableDeclarationsTest |
478,641 | 21.07.2021 13:23:46 | 18,000 | 1a5e112f8d3ccf5454edb6dbd2850a18fbea0915 | String#indexOf and List#indexOf replaceable by contains | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"new_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"diff": "@@ -185,6 +185,10 @@ class Java11HiddenFieldTest : Java11Test, HiddenField... | Java | Apache License 2.0 | openrewrite/rewrite | String#indexOf and List#indexOf replaceable by contains (#827) |
478,605 | 21.07.2021 15:45:59 | 25,200 | 487a4e3def5e13b69d67ab2c50c0012a2390ce96 | Added generation of longest common prefix across all imported packages. | [
{
"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": "import com.fasterxml.jackson.annotation.JsonCreator;\nimport lombok.EqualsAndHashCode;\nimport... | Java | Apache License 2.0 | openrewrite/rewrite | Added generation of longest common prefix across all imported packages. (#817) |
478,641 | 22.07.2021 02:42:03 | 18,000 | 476d13d485a1156780b026f35ac2024d9da03d6f | RemoveUnusedLocalVariablesTest add test for forLoopWithExternalIncrementLogic | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedLocalVariablesTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedLocalVariablesTest.kt",
"diff": "@@ -170,6 +170,24 @@ interface RemoveUnusedLocalVa... | Java | Apache License 2.0 | openrewrite/rewrite | RemoveUnusedLocalVariablesTest add test for forLoopWithExternalIncrementLogic |
478,641 | 22.07.2021 02:49:50 | 18,000 | 0e1ef26bb6368a28e64f679e3c4a6e02a9e6aebd | RemoveUnusedLocalVariablesTest add test | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedLocalVariablesTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedLocalVariablesTest.kt",
"diff": "@@ -78,6 +78,25 @@ interface RemoveUnusedLocalVari... | Java | Apache License 2.0 | openrewrite/rewrite | RemoveUnusedLocalVariablesTest add test |
478,641 | 22.07.2021 02:59:13 | 18,000 | 7efac35221c2ca3d9cd70596c53a5337847cc391 | RemoveUnusedLocalVariablesTest add another test | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedLocalVariablesTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedLocalVariablesTest.kt",
"diff": "@@ -27,7 +27,7 @@ import org.openrewrite.java.Java... | Java | Apache License 2.0 | openrewrite/rewrite | RemoveUnusedLocalVariablesTest add another test |
478,641 | 22.07.2021 03:07:43 | 18,000 | 3094c96d0b180fb8e6cbcde6cfd7960f0ae5033d | RemoveUnusedLocalVariablesTest add another test for instanceof | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedLocalVariablesTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedLocalVariablesTest.kt",
"diff": "@@ -27,7 +27,7 @@ import org.openrewrite.java.Java... | Java | Apache License 2.0 | openrewrite/rewrite | RemoveUnusedLocalVariablesTest add another test for instanceof |
478,632 | 22.07.2021 09:56:00 | 18,000 | a12f23e16736f266f13219c941d116d16fcf6a93 | Add identifiers in brackets support to JsonPathMatcher | [
{
"change_type": "MODIFY",
"old_path": "rewrite-yaml/src/main/java/org/openrewrite/yaml/JsonPathMatcher.java",
"new_path": "rewrite-yaml/src/main/java/org/openrewrite/yaml/JsonPathMatcher.java",
"diff": "@@ -258,6 +258,27 @@ public Object visitBinaryExpression(JsonPath.BinaryExpressionContext ctx) {... | Java | Apache License 2.0 | openrewrite/rewrite | Add identifiers in brackets support to JsonPathMatcher |
478,632 | 22.07.2021 10:53:51 | 18,000 | 055a0bc50a144f38ef9ca1f892d5949371714208 | Find items down in a Yaml.Document from document level | [
{
"change_type": "MODIFY",
"old_path": "rewrite-yaml/src/main/java/org/openrewrite/yaml/JsonPathMatcher.java",
"new_path": "rewrite-yaml/src/main/java/org/openrewrite/yaml/JsonPathMatcher.java",
"diff": "@@ -125,7 +125,11 @@ public Object visitJsonpath(JsonPath.JsonpathContext ctx) {\ncontext = curs... | Java | Apache License 2.0 | openrewrite/rewrite | Find items down in a Yaml.Document from document level |
478,632 | 22.07.2021 11:33:57 | 18,000 | 18685559c2775884dc89bfce7a0a70b5c32a446d | Fix incorrect assertion in test | [
{
"change_type": "MODIFY",
"old_path": "rewrite-yaml/src/test/kotlin/org/openrewrite/yaml/JsonPathMatcherTest.kt",
"new_path": "rewrite-yaml/src/test/kotlin/org/openrewrite/yaml/JsonPathMatcherTest.kt",
"diff": "@@ -142,7 +142,7 @@ class JsonPathMatcherTest {\nfun `must find mapping at document leve... | Java | Apache License 2.0 | openrewrite/rewrite | Fix incorrect assertion in test |
478,605 | 22.07.2021 09:46:09 | 25,200 | 22fe3bacf42ce29cf63ea12bc18a5c4df1dcd98f | Added detection for block of static all others. Refactored dynamic algo to count statics. Cleaned up code and added more comments. | [
{
"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": "@@ -212,19 +212,40 @@ public ImportLayoutStyle getImportLayoutStyle() {\n.map(longestBlocks ->... | Java | Apache License 2.0 | openrewrite/rewrite | Added detection for block of static all others. Refactored dynamic algo to count statics. Cleaned up code and added more comments. |
478,641 | 22.07.2021 12:34:36 | 18,000 | 4b3cb53292e2090fbc9eb7118397d41bd3daff02 | RemoveUnusedLocalVariables handle anonymous class fields | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/RemoveUnusedLocalVariables.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/RemoveUnusedLocalVariables.java",
"diff": "@@ -70,8 +70,10 @@ private static Cursor getCursorToParent... | Java | Apache License 2.0 | openrewrite/rewrite | RemoveUnusedLocalVariables handle anonymous class fields |
478,605 | 22.07.2021 11:14:22 | 25,200 | c0875894f5ff2cb174aeb90dd1fa217ca5a5cfc9 | Match IntelliJ's default layout settings for javax/java if any are missing from the project. | [
{
"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": "@@ -317,8 +317,9 @@ public ImportLayoutStyle getImportLayoutStyle() {\nbuilder = builder.impor... | Java | Apache License 2.0 | openrewrite/rewrite | Match IntelliJ's default layout settings for javax/java if any are missing from the project. |
478,630 | 21.07.2021 16:59:13 | 25,200 | ceff619f0b088e144d1f26218a2d61ecec30cde8 | Associate EmptyForInitializerPadStyle and EmptyForIteratorPadStyle with Checkstyle styles, rather than IntelliJ styles | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/EmptyForInitializerPadStyle.java",
"diff": "+/*\n+ * Copyright 2021 the original author or authors.\n+ * <p>\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you ... | Java | Apache License 2.0 | openrewrite/rewrite | Associate EmptyForInitializerPadStyle and EmptyForIteratorPadStyle with Checkstyle styles, rather than IntelliJ styles |
478,630 | 22.07.2021 13:36:05 | 25,200 | 19df599e6612b1f2dfbe5cf57704eab7f4ee66ff | Add cleanup recipe for checkstyle policies EmptyForInitializerPad, EmptyForIteratorPad. Closes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"new_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"diff": "@@ -253,6 +253,10 @@ class Java11NormalizeFormatTest : Java11Test, Normali... | Java | Apache License 2.0 | openrewrite/rewrite | Add cleanup recipe for checkstyle policies EmptyForInitializerPad, EmptyForIteratorPad. Closes #832. |
478,605 | 22.07.2021 13:56:26 | 25,200 | 9278c7b8f6438a6f02eb209e4d4cb07c81dd4597 | Added statistic for import ordering of java and javax. Adjusted layout to use the most common ordering of java and javax. fixes | [
{
"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": "@@ -186,6 +186,8 @@ public Space visitSpace(Space space, Space.Location loc, IndentStatistics ... | Java | Apache License 2.0 | openrewrite/rewrite | Added statistic for import ordering of java and javax. Adjusted layout to use the most common ordering of java and javax. fixes #833 |
478,641 | 22.07.2021 13:31:52 | 18,000 | b30e7695b2e2fa9f2c1fd5c0448df670c45186f3 | find identifier references on right-hand-side | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/RemoveUnusedLocalVariables.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/RemoveUnusedLocalVariables.java",
"diff": "import org.openrewrite.TreeVisitor;\nimport org.openrewrit... | Java | Apache License 2.0 | openrewrite/rewrite | [#828] find identifier references on right-hand-side |
478,630 | 22.07.2021 18:18:11 | 25,200 | 96e8ce000c66d95905bfb1f49263a484a25a1fc5 | Add CatchClauseOnlyRethrows cleanup recipe which eliminates certain unneeded catch blocks. Closes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"new_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"diff": "@@ -61,6 +61,10 @@ class Java11BlockStatementTemplateGeneratorTest : Java1... | Java | Apache License 2.0 | openrewrite/rewrite | Add CatchClauseOnlyRethrows cleanup recipe which eliminates certain unneeded catch blocks. Closes #825 |
478,641 | 23.07.2021 12:19:00 | 18,000 | 7bf97723d6e338fdd82c6a9e336d57d0d3143df2 | polish removeUnusedLocalVariables instanceof test | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedLocalVariablesTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedLocalVariablesTest.kt",
"diff": "*/\npackage org.openrewrite.java.cleanup\n-import ... | Java | Apache License 2.0 | openrewrite/rewrite | polish removeUnusedLocalVariables instanceof test |
478,605 | 23.07.2021 12:07:57 | 25,200 | fd4926dc7c554efaf6709b796566d92d38544346 | Fix java/javax import layout statistics in Autodetect. | [
{
"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": "@@ -568,35 +568,35 @@ private String longestCommonPrefix(String pkg, @Nullable String lcp) {\n... | Java | Apache License 2.0 | openrewrite/rewrite | Fix java/javax import layout statistics in Autodetect. |
478,630 | 23.07.2021 18:13:02 | 25,200 | 081a1586f79108b5454db7711dec7d81dd954bec | Add ControlFlowIndentation recipe to fix indentation of statements after block-less control flow statements. Closes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"new_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"diff": "@@ -66,6 +66,10 @@ class Java11BooleanChecksNotInvertedTest : Java11Test, ... | Java | Apache License 2.0 | openrewrite/rewrite | Add ControlFlowIndentation recipe to fix indentation of statements after block-less control flow statements. Closes #801 |
478,641 | 24.07.2021 00:14:55 | 18,000 | 8c28ba8dc33579cb90625050be071d620eab5ca8 | restore RemoveUnusedLocalVariablesTest ref | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java-8/src/test/kotlin/org/openrewrite/java/Java8VisitorDebugTest.kt",
"new_path": "rewrite-java-8/src/test/kotlin/org/openrewrite/java/Java8VisitorDebugTest.kt",
"diff": "@@ -286,6 +286,10 @@ class Java8RemoveAnnotationTest : Java8Test, RemoveAnnotati... | Java | Apache License 2.0 | openrewrite/rewrite | restore RemoveUnusedLocalVariablesTest ref |
478,605 | 26.07.2021 10:46:48 | 25,200 | 677e6725dbb51ee2cceb4d75a42ad85b89a70623 | Adding eureka.yml and genie.yml. Projects contain a checkstyle rule to avoid star imports. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "rewrite-java/src/main/resources/META-INF/rewrite/eureka.yml",
"diff": "+#\n+# Copyright 2021 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 except in co... | Java | Apache License 2.0 | openrewrite/rewrite | Adding eureka.yml and genie.yml. Projects contain a checkstyle rule to avoid star imports. |
478,630 | 26.07.2021 17:13:52 | 25,200 | 4237a3251c6e31db8122b88575a64f7bc40f4484 | Re-Add AutoFormat.visitCompilationUnit() overload which turns out to be required to be able to activate AutoFormat directly. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/format/AutoFormatVisitor.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/format/AutoFormatVisitor.java",
"diff": "@@ -70,4 +70,31 @@ public J visit(@Nullable Tree tree, P p, Cursor cursor) {\n... | Java | Apache License 2.0 | openrewrite/rewrite | Re-Add AutoFormat.visitCompilationUnit() overload which turns out to be required to be able to activate AutoFormat directly. |
478,605 | 27.07.2021 10:32:20 | 25,200 | 1e4ad1ed7b23a868753ab820ff4416dd56f2e55c | Remove spring style format | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/moderne-ingest.yml",
"new_path": ".github/workflows/moderne-ingest.yml",
"diff": "@@ -17,5 +17,3 @@ jobs:\nuses: docker://moderne/ingest:java11-latest\nenv:\nMODERNE_API_ACCESS_TOKEN: ${{ secrets.MODERNE_API_ACCESS_TOKEN }}\n- with:\n- args: ... | Java | Apache License 2.0 | openrewrite/rewrite | Remove spring style format |
478,605 | 27.07.2021 16:43:31 | 25,200 | 229c6c0e159f1d61a59b2f22901f5567685e46a9 | Do not remove static import if a new class is reference in RemoveUnusedImports. fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/RemoveUnusedImports.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/RemoveUnusedImports.java",
"diff": "@@ -97,8 +97,11 @@ public String getDescription() {\nif (elem.isStatic()) {\nSet<String>... | Java | Apache License 2.0 | openrewrite/rewrite | Do not remove static import if a new class is reference in RemoveUnusedImports. fixes #845 |
478,630 | 27.07.2021 17:27:07 | 25,200 | 75f6192e3734df058f782f8bc732e2bc0f2fe482 | Limit ControlFlowIndentation's reformatting to apply only to the current block. This helps to limit the scope of the change. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/ControlFlowIndentation.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/ControlFlowIndentation.java",
"diff": "import org.openrewrite.ExecutionContext;\nimport org.openrewrite.R... | Java | Apache License 2.0 | openrewrite/rewrite | Limit ControlFlowIndentation's reformatting to apply only to the current block. This helps to limit the scope of the change. |
478,657 | 27.07.2021 21:17:28 | 14,400 | da65e5316a8a4c0b4becbcd6735888268b0471fb | Fixing duplicated Checkstyle modules. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/style/CheckstyleConfigLoader.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/style/CheckstyleConfigLoader.java",
"diff": "import com.puppycrawl.tools.checkstyle.ConfigurationLoader;\nimport co... | Java | Apache License 2.0 | openrewrite/rewrite | Fixing duplicated Checkstyle modules. (#848) |
478,641 | 28.07.2021 01:21:45 | 18,000 | 1fbf35c6d2a20bd255411686664740ad09f14fb8 | Remove unused assignments
improve description, additional tests
refactor to have separated visitors execute within method declaration context using mark and sweep | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"new_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"diff": "@@ -290,6 +290,10 @@ class Java11RemoveAnnotationTest : Java11Test, Remove... | Java | Apache License 2.0 | openrewrite/rewrite | Remove unused assignments (#840)
improve description, additional tests
refactor to have separated visitors execute within method declaration context using mark and sweep |
478,641 | 28.07.2021 12:28:58 | 18,000 | 0890f64d3f421d500c6ca1ddaad9116a8f3c0610 | tests on paths within if statements | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedAssignmentsTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedAssignmentsTest.kt",
"diff": "*/\npackage org.openrewrite.java.cleanup\n+import org.ju... | Java | Apache License 2.0 | openrewrite/rewrite | [#821] tests on paths within if statements |
478,641 | 28.07.2021 12:58:20 | 18,000 | c7a48d4eecef80bf6460eb36551e55977c8d03ed | test showing removal of assignment to null
tests for more field handling | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedAssignmentsTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedAssignmentsTest.kt",
"diff": "@@ -31,7 +31,8 @@ import org.openrewrite.java.JavaRecipe... | Java | Apache License 2.0 | openrewrite/rewrite | [#821] test showing removal of assignment to null
[#821] tests for more field handling |
478,641 | 28.07.2021 13:40:13 | 18,000 | 02a93667ac96221a97b6a3727560d2406ea05fbf | tests for identifier wrapped in parentheses | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedAssignmentsTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedAssignmentsTest.kt",
"diff": "@@ -158,7 +158,7 @@ interface RemoveUnusedAssignmentsTes... | Java | Apache License 2.0 | openrewrite/rewrite | [#821] tests for identifier wrapped in parentheses |
478,630 | 28.07.2021 13:42:25 | 25,200 | ec5407afa83e7fc981cbc1d0e76b911308695ce4 | Fix Recipes with optional configuration, like OrderImports, cannot be actviated directly | [
{
"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": "import java.util.List;\nimport java.util.Properties;\n+import static org.ope... | Java | Apache License 2.0 | openrewrite/rewrite | Fix #854 Recipes with optional configuration, like OrderImports, cannot be actviated directly |
478,641 | 28.07.2021 16:32:01 | 18,000 | 016efb5b6583129d00c955d45d04d1e35614d76b | Remove "remove unused assignment" | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"new_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"diff": "@@ -290,10 +290,6 @@ class Java11RemoveAnnotationTest : Java11Test, Remove... | Java | Apache License 2.0 | openrewrite/rewrite | Remove "remove unused assignment" (#855) |
478,641 | 29.07.2021 13:47:42 | 18,000 | d1e42391908ce26b15d288d350220d656fecc689 | test for usage within expression of while loop | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedLocalVariablesTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/cleanup/RemoveUnusedLocalVariablesTest.kt",
"diff": "*/\npackage org.openrewrite.java.cleanup\n+import ... | Java | Apache License 2.0 | openrewrite/rewrite | [#828] test for usage within expression of while loop |
478,605 | 29.07.2021 12:01:10 | 25,200 | d3b52ab028d19d790377b1626b9db3e453bb1d1e | Set appropriate whitespace of class declaration when removing the last annotation in RemoveAnnotationVisitor. fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/RemoveAnnotationVisitor.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/RemoveAnnotationVisitor.java",
"diff": "} else if (c.getPadding().getTypeParameters() != null) {\nc = c.getPadding().wit... | Java | Apache License 2.0 | openrewrite/rewrite | Set appropriate whitespace of class declaration when removing the last annotation in RemoveAnnotationVisitor. fixes #861 |
478,630 | 29.07.2021 13:32:56 | 25,200 | b9f0dd50ec9558c419508dc107c4018e9296f07a | Fix Comments don't make into AST generated from snippets | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/format/NormalizeFormatVisitor.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/format/NormalizeFormatVisitor.java",
"diff": "package org.openrewrite.java.format;\nimport org.openrewrite.java.Ja... | Java | Apache License 2.0 | openrewrite/rewrite | Fix #793, Comments don't make into AST generated from snippets (#863) |
478,641 | 29.07.2021 18:06:08 | 18,000 | fa7738dc46f3e2e648f778eefb5e7b820e2984bf | UnusedLocalVariable improvements on evaluating left-hand vs right-hand read operations | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/RemoveUnusedLocalVariables.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/RemoveUnusedLocalVariables.java",
"diff": "import org.openrewrite.ExecutionContext;\nimport org.openr... | Java | Apache License 2.0 | openrewrite/rewrite | UnusedLocalVariable improvements on evaluating left-hand vs right-hand read operations (#864) |
478,630 | 29.07.2021 16:25:12 | 25,200 | 8e9429195e4cf39d304a02dfef68bca62b8d1398 | Update README.md with current development environment information | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -11,7 +11,7 @@ Read the full documentation at [docs.openrewrite.org](https://docs.openrewrite.o\nFeel free to join us on [Slack](https://join.slack.com/t/rewriteoss/shared_invite/zt-nj42n3ea-b~62rIHzb3Vo0E1APKCX... | Java | Apache License 2.0 | openrewrite/rewrite | Update README.md with current development environment information |
478,630 | 29.07.2021 16:44:38 | 25,200 | 8b7bd84276af130269e4558ebdd2fdf97bfa6b59 | Add ClassDeclaration and MethodDeclaration validations to TypeValidator. Fix ChangePackage does not update type information on ClassDeclarations | [
{
"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": "@@ -133,6 +133,11 @@ public String getDescription() {\nif (c.getImplements() != null) {\nc = c.withI... | Java | Apache License 2.0 | openrewrite/rewrite | Add ClassDeclaration and MethodDeclaration validations to TypeValidator. Fix #865, ChangePackage does not update type information on ClassDeclarations |
478,641 | 29.07.2021 19:45:28 | 18,000 | f6b7fe564ff738bf6cb6e5166aee39c07ffcfc6a | unused local variables more tests | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/RemoveUnusedLocalVariables.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/RemoveUnusedLocalVariables.java",
"diff": "import java.util.*;\nimport java.util.function.Predicate;\... | Java | Apache License 2.0 | openrewrite/rewrite | [#828] unused local variables more tests |
478,641 | 30.07.2021 00:29:40 | 18,000 | 36eabc09329c32a2fe6aced4dbda2a2854693a40 | be a little cleaner with determining whether to process a named variable, just return directly on the visit, swap over target to be an Identifier | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/RemoveUnusedLocalVariables.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/RemoveUnusedLocalVariables.java",
"diff": "@@ -59,8 +59,10 @@ private static Cursor getCursorToParent... | Java | Apache License 2.0 | openrewrite/rewrite | [#828] be a little cleaner with determining whether to process a named variable, just return directly on the visit, swap over target to be an Identifier |
478,605 | 30.07.2021 16:00:32 | 25,200 | 3def92c8e124a85e37379c28c43c3cda4883faae | Added source set of classpath elements to JavaProvenance. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/build.gradle.kts",
"new_path": "rewrite-java/build.gradle.kts",
"diff": "@@ -20,6 +20,7 @@ dependencies {\nimplementation(\"org.antlr:antlr4:4.9.2\")\ncompileOnly(\"com.puppycrawl.tools:checkstyle:latest.release\")\nimplementation(\"commons-lang:c... | Java | Apache License 2.0 | openrewrite/rewrite | Added source set of classpath elements to JavaProvenance. |
478,630 | 30.07.2021 16:16:51 | 25,200 | 1de99f6d1ac22936fb49a10c11d0886b43309e6c | TypeValidator also validates that Identifiers have type information. Fixes
Add verification of Identifiers having types to TypeValidator | [
{
"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": "@@ -191,8 +191,14 @@ public J visitFieldAccess(J.FieldAccess fieldAccess, ExecutionContext ctx) {\nJavaTyp... | Java | Apache License 2.0 | openrewrite/rewrite | TypeValidator also validates that Identifiers have type information. Fixes #868 (#869)
Add verification of Identifiers having types to TypeValidator |
478,630 | 30.07.2021 16:36:40 | 25,200 | 1ad86f690852ba294c19a2493ae62500983777cf | Fix TypeValidator.visitMethodDeclaration() to read the correct field from ValidationOptions | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/TypeValidator.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/TypeValidator.kt",
"diff": "@@ -144,7 +144,7 @@ class TypeValidator(\noverride fun visitMethodDeclaration(method: J.MethodDeclar... | Java | Apache License 2.0 | openrewrite/rewrite | Fix TypeValidator.visitMethodDeclaration() to read the correct field from ValidationOptions |
478,641 | 03.08.2021 14:14:09 | 18,000 | a9d3899ff74424a33e4ca0f9e31160691db50ec2 | method param pad | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11TreeDebugTests.kt",
"new_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11TreeDebugTests.kt",
"diff": "@@ -147,6 +147,10 @@ class Java11MethodInvocationTest: Java11Test, MethodInvocat... | Java | Apache License 2.0 | openrewrite/rewrite | [#797] method param pad (#871) |
478,641 | 04.08.2021 11:39:30 | 18,000 | 4f03b8b510533637e1b2668db5b811cc44ccaee8 | Fix missing or needed braces | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"new_path": "rewrite-java-11/src/test/kotlin/org/openrewrite/java/Java11VisitorDebugTests.kt",
"diff": "@@ -250,6 +250,10 @@ class Java11ModifierOrderTest : Java11Test, ModifierO... | Java | Apache License 2.0 | openrewrite/rewrite | [#797] Fix missing or needed braces (#875) |
478,641 | 04.08.2021 13:11:58 | 18,000 | ce1f04386b38c7df52c4d941d22da9339e88243e | fixup single source applicability test on NeedBraces | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/MethodParamPad.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/MethodParamPad.java",
"diff": "import org.openrewrite.ExecutionContext;\nimport org.openrewrite.Recipe;\n-import ... | Java | Apache License 2.0 | openrewrite/rewrite | fixup single source applicability test on NeedBraces |
478,641 | 04.08.2021 14:10:11 | 18,000 | 55b15b10dcb01b2a13a92dd8e8c3aa897f7683c7 | handling of possible null initialization for methodParamPadStyle | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/MethodParamPad.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/cleanup/MethodParamPad.java",
"diff": "import org.openrewrite.internal.lang.Nullable;\nimport org.openrewrite.java.JavaIs... | Java | Apache License 2.0 | openrewrite/rewrite | handling of possible null initialization for methodParamPadStyle |
478,605 | 04.08.2021 13:53:10 | 25,200 | a4fd47ca8acdf3ca3d66502dc28e67c0e8fcaa94 | Get classpath info from JavaProvenance in OrderImports.
* Prevent import folding if it will cause a namespace conflict.
* Added fqns from java packages to JavaProvenance classpath.
(fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/OrderImports.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/OrderImports.java",
"diff": "import org.openrewrite.Recipe;\nimport org.openrewrite.TreeVisitor;\nimport org.openrewrite.java.inter... | Java | Apache License 2.0 | openrewrite/rewrite | Get classpath info from JavaProvenance in OrderImports. (#872)
* Prevent import folding if it will cause a namespace conflict.
* Added fqns from java packages to JavaProvenance classpath.
(fixes #860) |
478,605 | 05.08.2021 10:32:35 | 25,200 | 9004f36d99e3171a0927a007cd5d32ab7b23b0c6 | Refactored static import conditions in RemoveUnusedImports to prevent removing imports of static classes that are in use.
Added tests. fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/RemoveUnusedImports.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/RemoveUnusedImports.java",
"diff": "@@ -72,7 +72,10 @@ public String getDescription() {\n}\n} else if (javaType instanceof J... | Java | Apache License 2.0 | openrewrite/rewrite | Refactored static import conditions in RemoveUnusedImports to prevent removing imports of static classes that are in use.
Added tests. fixes #877 |
478,605 | 05.08.2021 11:22:08 | 25,200 | 9ef9f0246af7208c3cc3c2a54e760da60377702a | Prevent OrderImports from folding imports of packages that contain a classname shared in java.lang. fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/style/ImportLayoutStyle.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/style/ImportLayoutStyle.java",
"diff": "@@ -445,6 +445,7 @@ public void claimImport(Block block, JRightPadded<J.Import> ... | Java | Apache License 2.0 | openrewrite/rewrite | Prevent OrderImports from folding imports of packages that contain a classname shared in java.lang. fixes #859 |
478,605 | 05.08.2021 12:08:28 | 25,200 | 37e5d0842002ddb19593d448d382a693ff1fb164 | Use continuation indent if Space.Location.EXTENDS is on a new line in TabsAndIndentsVisitor. fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/format/TabsAndIndentsVisitor.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/format/TabsAndIndentsVisitor.java",
"diff": "@@ -144,6 +144,10 @@ public Space visitSpace(Space space, Space.Locati... | Java | Apache License 2.0 | openrewrite/rewrite | Use continuation indent if Space.Location.EXTENDS is on a new line in TabsAndIndentsVisitor. fixes #709 |
478,605 | 05.08.2021 13:14:12 | 25,200 | 47714795c749a28a03ea792b8796d3c8b6a56f36 | Fixed alignment issues when BLOCK_PREFIX(s) are on a new line. fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/format/TabsAndIndentsVisitor.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/format/TabsAndIndentsVisitor.java",
"diff": "@@ -138,6 +138,10 @@ public Space visitSpace(Space space, Space.Locati... | Java | Apache License 2.0 | openrewrite/rewrite | Fixed alignment issues when BLOCK_PREFIX(s) are on a new line. fixes #663 |
478,605 | 06.08.2021 10:26:08 | 25,200 | 411e4e4d6e8c437d3544a09f7729f74996b6a3fc | Prevent AddImport from folding imports if it creates an ambiguous class reference. fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/AddImport.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/AddImport.java",
"diff": "import lombok.EqualsAndHashCode;\nimport org.openrewrite.internal.lang.Nullable;\nimport org.openrewrite.jav... | Java | Apache License 2.0 | openrewrite/rewrite | Prevent AddImport from folding imports if it creates an ambiguous class reference. fixes #880 |
478,605 | 06.08.2021 10:57:49 | 25,200 | 7e089e5696ab483594a5181a0105def1741f81db | Add test for issue 883. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/format/TabsAndIndentsTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/format/TabsAndIndentsTest.kt",
"diff": "@@ -2211,4 +2211,18 @@ interface TabsAndIndentsTest : JavaRecipeTest {\n}\n\... | Java | Apache License 2.0 | openrewrite/rewrite | Add test for issue 883. |
478,605 | 06.08.2021 11:00:24 | 25,200 | 535e5edc97a2db60df958e2c1f710e7f69a407e2 | fix issue link referenced in AddImportTest#doNotFoldStaticsWithNamespaceConflict | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/AddImportTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/AddImportTest.kt",
"diff": "@@ -766,7 +766,7 @@ interface AddImportTest : JavaRecipeTest {\nAssertions.assertThat((result).impor... | Java | Apache License 2.0 | openrewrite/rewrite | fix issue link referenced in AddImportTest#doNotFoldStaticsWithNamespaceConflict |
478,619 | 09.08.2021 17:31:17 | 25,200 | cfa2b942cba9f782e2acfe2d06ff7c3caf3e3156 | Fixing equals/hashcode to use SourceUri vs SourcePath | [
{
"change_type": "MODIFY",
"old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/internal/RawMaven.java",
"new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/internal/RawMaven.java",
"diff": "@FieldDefaults(level = AccessLevel.PRIVATE)\n@AllArgsConstructor(access = AccessLevel.PR... | Java | Apache License 2.0 | openrewrite/rewrite | Fixing equals/hashcode to use SourceUri vs SourcePath |
478,619 | 10.08.2021 11:47:47 | 25,200 | 1bb00b2eaf45798273294a5706c19e129d69ed63 | Fix broken cache serialization. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/internal/RawMaven.java",
"new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/internal/RawMaven.java",
"diff": "import static java.util.Collections.singletonList;\n@FieldDefaults(level = AccessLevel.P... | Java | Apache License 2.0 | openrewrite/rewrite | Fix broken cache serialization. |
478,665 | 10.08.2021 17:30:01 | 25,200 | ada33ad495187bdae13c7d3d68ff9551c4bbcd2a | fix maven repo not being used | [
{
"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": "import org.openrewrite.ExecutionContext;\nimport org.openrewrite.Par... | Java | Apache License 2.0 | openrewrite/rewrite | fix maven repo not being used (#886) |
478,665 | 10.08.2021 18:28:31 | 25,200 | 9af7776cec936a7c1da5c3f72d6f43e908057a61 | don't short circuit dated snapshots | [
{
"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": "@@ -321,9 +321,7 @@ private String datedSnapshotVersion(String group... | Java | Apache License 2.0 | openrewrite/rewrite | don't short circuit dated snapshots |
478,616 | 11.08.2021 10:55:22 | 25,200 | 97ad1837cb3c160887c6f8a2e4e7e6173709e3cc | Update RawMavenResolver to handle case where `packaging` value is a property value. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/internal/RawMavenResolver.java",
"new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/internal/RawMavenResolver.java",
"diff": "@@ -617,7 +617,7 @@ private Pom assembleResults(ResolutionTask task, Sta... | Java | Apache License 2.0 | openrewrite/rewrite | Update RawMavenResolver to handle case where `packaging` value is a property value. (#888) |
478,605 | 11.08.2021 11:22:45 | 25,200 | 0449837318038939c1e0bca527427a08253ca375 | Use implied executionContext in tests with JavaProvenance in AddImports and OrderImports. | [
{
"change_type": "MODIFY",
"old_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/AddImportTest.kt",
"new_path": "rewrite-test/src/main/kotlin/org/openrewrite/java/AddImportTest.kt",
"diff": "package org.openrewrite.java\nimport org.assertj.core.api.Assertions\n-import org.junit.jupiter.api.... | Java | Apache License 2.0 | openrewrite/rewrite | Use implied executionContext in tests with JavaProvenance in AddImports and OrderImports. |
478,605 | 11.08.2021 11:37:31 | 25,200 | 2576d3fbcea41cc0e89d2dae378b542174b40430 | Added condition in AddImports to handle when the imports are empty, the package name is null, and class prefix-comments is not empty. fixes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-java/src/main/java/org/openrewrite/java/AddImport.java",
"new_path": "rewrite-java/src/main/java/org/openrewrite/java/AddImport.java",
"diff": "package org.openrewrite.java;\nimport lombok.EqualsAndHashCode;\n+import org.openrewrite.internal.ListUtils;... | Java | Apache License 2.0 | openrewrite/rewrite | Added condition in AddImports to handle when the imports are empty, the package name is null, and class prefix-comments is not empty. fixes #867 |
478,641 | 12.08.2021 14:45:12 | 18,000 | 3554ba3596227df71af5026e0ea1558382eacec4 | test demonstrating unwanted properties changes | [
{
"change_type": "MODIFY",
"old_path": "rewrite-maven/src/test/kotlin/org/openrewrite/maven/UpgradeDependencyVersionTest.kt",
"new_path": "rewrite-maven/src/test/kotlin/org/openrewrite/maven/UpgradeDependencyVersionTest.kt",
"diff": "package org.openrewrite.maven\nimport org.assertj.core.api.Asserti... | Java | Apache License 2.0 | openrewrite/rewrite | [#891] test demonstrating unwanted properties changes |
478,641 | 12.08.2021 16:05:05 | 18,000 | c1aa1828e21626341758dcdf890aa54f73e6bd56 | check against resolved artifactId for dependencies when updating the dependency version tag | [
{
"change_type": "MODIFY",
"old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/UpgradeDependencyVersion.java",
"new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/UpgradeDependencyVersion.java",
"diff": "@@ -205,7 +205,7 @@ else if (!isManagedDependencyTag(groupId, artifactId))... | Java | Apache License 2.0 | openrewrite/rewrite | check against resolved artifactId for dependencies when updating the dependency version tag [#891] (#895) |
478,641 | 12.08.2021 17:20:34 | 18,000 | 2076bfd0627c63cd4679d4301c984ee902251da1 | UpgradeDependencyVersion handling of dependencies within dependencyManagement | [
{
"change_type": "MODIFY",
"old_path": "rewrite-maven/src/main/java/org/openrewrite/maven/UpgradeDependencyVersion.java",
"new_path": "rewrite-maven/src/main/java/org/openrewrite/maven/UpgradeDependencyVersion.java",
"diff": "@@ -212,6 +212,14 @@ else if (!isManagedDependencyTag(groupId, artifactId)... | Java | Apache License 2.0 | openrewrite/rewrite | UpgradeDependencyVersion handling of dependencies within dependencyManagement (#896) |
478,634 | 13.08.2021 14:14:18 | 25,200 | 4dab14ab148772878f4e76d2ccc8805c04bbba74 | fix: use lowercase `json` for accept check
Follows convention from YML/ XML `accept` methods | [
{
"change_type": "MODIFY",
"old_path": "rewrite-json/src/main/java/org/openrewrite/json/JsonParser.java",
"new_path": "rewrite-json/src/main/java/org/openrewrite/json/JsonParser.java",
"diff": "@Override\npublic boolean accept(Path path) {\n- return path.toString().endsWith(\".Json\");\n+ return pat... | Java | Apache License 2.0 | openrewrite/rewrite | fix: use lowercase `json` for accept check (#898)
Follows convention from YML/ XML `accept` methods |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.