diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 4f2f284848d..c02b4dc4da2 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -8,5 +8,7 @@ on: jobs: Build: uses: evanchooly/workflows/.github/workflows/pull-request.yml@master + secrets: + DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} with: java: 17 diff --git a/rewrite/src/main/java/dev/morphia/rewrite/recipes/PipelineRewriteStage2.java b/rewrite/src/main/java/dev/morphia/rewrite/recipes/PipelineRewriteStage2.java index b793ba4108b..8bb8f9980de 100644 --- a/rewrite/src/main/java/dev/morphia/rewrite/recipes/PipelineRewriteStage2.java +++ b/rewrite/src/main/java/dev/morphia/rewrite/recipes/PipelineRewriteStage2.java @@ -31,7 +31,7 @@ public String getDescription() { public TreeVisitor getVisitor() { return Preconditions.check(new UsesMethod<>(PIPELINE), new JavaIsoVisitor<>() { - public MethodInvocation visitMethodInvocation(MethodInvocation method, ExecutionContext p) { + public MethodInvocation visitMethodInvocation(MethodInvocation method, ExecutionContext ignored) { if (!PIPELINE.matches(method.getSelect())) { return method; }