Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
timtebeek and github-actions[bot] authored Nov 23, 2024
1 parent 4200ebb commit 78df8f6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
import org.openrewrite.*;
import org.openrewrite.java.JavaIsoVisitor;
import org.openrewrite.java.MethodMatcher;
import org.openrewrite.java.TypeMatcher;
import org.openrewrite.java.search.DeclaresMethod;
import org.openrewrite.java.search.DeclaresType;
import org.openrewrite.java.service.ImportService;
import org.openrewrite.java.tree.*;
import org.openrewrite.marker.Markers;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright 2024 the original author or authors.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.openrewrite.java.spring.batch;

import org.junit.jupiter.api.Test;
Expand All @@ -9,7 +24,7 @@

import static org.openrewrite.java.Assertions.java;

public class UpgradeSkipPolicyParameterTypeTest implements RewriteTest {
class UpgradeSkipPolicyParameterTypeTest implements RewriteTest {
@Override
public void defaults(RecipeSpec spec) {
spec
Expand All @@ -20,7 +35,7 @@ public void defaults(RecipeSpec spec) {

@DocumentExample
@Test
void testReplaceParameter() {
void replaceParameter() {
// language=java
rewriteRun(
java(
Expand Down

0 comments on commit 78df8f6

Please sign in to comment.