From c2dbd97b7830e65bdd861661cfd42ee179848dbb Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Fri, 7 Jun 2024 09:27:23 +0000 Subject: [PATCH] refactor: OpenRewrite best practices Use this link to re-run the recipe: https://app.moderne.io/recipes/builder/BftezDRNh?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne --- .../java/org/openrewrite/javascript/TypeScriptTypeMapping.java | 2 +- .../javascript/internal/TypeScriptParserVisitor.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/openrewrite/javascript/TypeScriptTypeMapping.java b/src/main/java/org/openrewrite/javascript/TypeScriptTypeMapping.java index c34a51cd..4e4d07b8 100644 --- a/src/main/java/org/openrewrite/javascript/TypeScriptTypeMapping.java +++ b/src/main/java/org/openrewrite/javascript/TypeScriptTypeMapping.java @@ -35,8 +35,8 @@ import java.util.stream.Collectors; import static java.util.Collections.emptyList; -import static org.openrewrite.javascript.TypeScriptSignatureBuilder.mapFqn; import static org.openrewrite.java.tree.JavaType.GenericTypeVariable.Variance.*; +import static org.openrewrite.javascript.TypeScriptSignatureBuilder.mapFqn; @Incubating(since = "0.0") public class TypeScriptTypeMapping implements JavaTypeMapping { diff --git a/src/main/java/org/openrewrite/javascript/internal/TypeScriptParserVisitor.java b/src/main/java/org/openrewrite/javascript/internal/TypeScriptParserVisitor.java index 2a7db084..3d21e247 100644 --- a/src/main/java/org/openrewrite/javascript/internal/TypeScriptParserVisitor.java +++ b/src/main/java/org/openrewrite/javascript/internal/TypeScriptParserVisitor.java @@ -3606,4 +3606,4 @@ private void implementMe(TSCNode node, String propertyName) { throw new UnsupportedOperationException(node.syntaxKind() + "#" + propertyName + " not implemented"); } } -} \ No newline at end of file +}