Skip to content
Permalink
Browse files
minor refactor: remove deprecation warning
  • Loading branch information
paulk-asert committed Apr 17, 2022
1 parent 1d4c8fc commit 9da9b4162de5a2265844cfbb5ce62aaa795275be
Showing 1 changed file with 2 additions and 2 deletions.
@@ -18,7 +18,6 @@
*/
package org.codehaus.groovy.ast;

import groovy.lang.Mixin;
import org.codehaus.groovy.ast.expr.ClassExpression;
import org.codehaus.groovy.ast.expr.Expression;
import org.codehaus.groovy.ast.expr.ListExpression;
@@ -43,7 +42,8 @@
@Deprecated
@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION)
public class MixinASTTransformation extends AbstractASTTransformation {
private static final ClassNode MY_TYPE = make(Mixin.class);
@SuppressWarnings("deprecation")
private static final ClassNode MY_TYPE = make(groovy.lang.Mixin.class);

@Override
public void visit(ASTNode[] nodes, SourceUnit source) {

0 comments on commit 9da9b41

Please sign in to comment.