diff --git a/src/main/java/org/openrewrite/kotlin/RenameTypeAlias.java b/src/main/java/org/openrewrite/kotlin/RenameTypeAlias.java index 99df3571..71bd1389 100644 --- a/src/main/java/org/openrewrite/kotlin/RenameTypeAlias.java +++ b/src/main/java/org/openrewrite/kotlin/RenameTypeAlias.java @@ -98,7 +98,9 @@ private boolean isVariableName(Cursor cursor, J.Identifier ident) { return vd.getModifiers().stream().noneMatch(x -> x.getType() == J.Modifier.Type.LanguageExtension && "typealias".equals(x.getKeyword())); } return true; - } else return !(value instanceof J.ParameterizedType); + } else { + return !(value instanceof J.ParameterizedType); + } } private boolean isAliasImport(Cursor cursor, J.Identifier id) {