Skip to content

Commit

Permalink
fix two more warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
carstenartur committed Sep 21, 2024
1 parent 05aadae commit 94974ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void findOperations(final CompilationUnit compilationUnit,final Set<Compi
explicitencoding.find(this, compilationUnit, operations, nodesprocessed, cb);
}

public CompilationUnitRewriteOperation rewrite(final ASTNode visited, ChangeBehavior cb, ReferenceHolder data) {
public CompilationUnitRewriteOperation rewrite(final ASTNode visited, ChangeBehavior cb, ReferenceHolder<ASTNode, Object> data) {
return new CompilationUnitRewriteOperation() {
@Override
public void rewriteAST(final CompilationUnitRewrite cuRewrite, final LinkedProposalModelCore linkedModel) throws CoreException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IPackageFragment;
import org.eclipse.jdt.internal.corext.fix.CleanUpConstants;
import org.eclipse.jdt.ui.tests.quickfix.rules.AbstractEclipseJava;
import org.eclipse.jdt.ui.tests.quickfix.rules.EclipseJava8;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.EnumSource;
import org.eclipse.jdt.internal.corext.fix.CleanUpConstants;
import org.eclipse.jdt.ui.tests.quickfix.rules.AbstractEclipseJava;
import org.eclipse.jdt.ui.tests.quickfix.rules.EclipseJava10;
import org.eclipse.jdt.ui.tests.quickfix.rules.EclipseJava8;

public class ExplicitEncodingCleanUpTest {

Expand Down

0 comments on commit 94974ae

Please sign in to comment.