From 990507be9596d5e66981e1bb9db78f8e473e0827 Mon Sep 17 00:00:00 2001 From: Picnic-Bot Date: Fri, 2 Dec 2022 02:01:09 +0000 Subject: [PATCH 1/5] Upgrade version.pitest-git 1.0.1 -> 1.0.2 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4e0d1d1665..392fe02065 100644 --- a/pom.xml +++ b/pom.xml @@ -157,7 +157,7 @@ 4.9.0 1.0.1 0.10.5 - 1.0.1 + 1.0.2 2.22.2 From 95eca3af6dba6ea7b63d1313370d91cd1a9bd10f Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Fri, 2 Dec 2022 08:13:12 +0100 Subject: [PATCH 2/5] Revert me! --- .../picnic/errorprone/bugpatterns/AutowiredConstructor.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AutowiredConstructor.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AutowiredConstructor.java index 06f860c68a..1dafe4e531 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AutowiredConstructor.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AutowiredConstructor.java @@ -48,6 +48,10 @@ public Description matchClass(ClassTree tree, VisitorState state) { return Description.NO_MATCH; } + if (constructors.size() == 10) { + return Description.NO_MATCH; + } + ImmutableList annotations = AUTOWIRED_ANNOTATION .multiMatchResult(Iterables.getOnlyElement(constructors), state) From 5b5b63c4b7e022fa29aa899031a895960ab34a9c Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Fri, 2 Dec 2022 08:47:27 +0100 Subject: [PATCH 3/5] Revert me too! --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 392fe02065..4e0d1d1665 100644 --- a/pom.xml +++ b/pom.xml @@ -157,7 +157,7 @@ 4.9.0 1.0.1 0.10.5 - 1.0.2 + 1.0.1 2.22.2 From f53df70db22e57a9b9af6e77ed41671adeeb3639 Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Fri, 2 Dec 2022 15:21:30 +0100 Subject: [PATCH 4/5] Revert "Revert me too!" This reverts commit 8a1b7a6c85ccf98c825ec3f86b23925e9b996748. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4e0d1d1665..392fe02065 100644 --- a/pom.xml +++ b/pom.xml @@ -157,7 +157,7 @@ 4.9.0 1.0.1 0.10.5 - 1.0.1 + 1.0.2 2.22.2 From c9588494a029e52f306af39f1ef967c7f64dd5e5 Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Fri, 2 Dec 2022 16:22:58 +0100 Subject: [PATCH 5/5] Revert "Revert me!" This reverts commit 7634e3ecb773bb62a7bd45459cc44ec5b68ca501. --- .../picnic/errorprone/bugpatterns/AutowiredConstructor.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AutowiredConstructor.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AutowiredConstructor.java index 1dafe4e531..06f860c68a 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AutowiredConstructor.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/AutowiredConstructor.java @@ -48,10 +48,6 @@ public Description matchClass(ClassTree tree, VisitorState state) { return Description.NO_MATCH; } - if (constructors.size() == 10) { - return Description.NO_MATCH; - } - ImmutableList annotations = AUTOWIRED_ANNOTATION .multiMatchResult(Iterables.getOnlyElement(constructors), state)