Polish
Closes gh-11871
This commit is contained in:
committed by
Stephane Nicoll
parent
71e9db012b
commit
3cead7693d
@@ -170,7 +170,7 @@ class TypeUtils {
|
||||
}
|
||||
|
||||
/**
|
||||
* A visitor that extracts the full qualified name of a type, including generic
|
||||
* A visitor that extracts the fully qualified name of a type, including generic
|
||||
* information.
|
||||
*/
|
||||
private static class TypeExtractor extends SimpleTypeVisitor8<String, Void> {
|
||||
@@ -186,7 +186,7 @@ class TypeUtils {
|
||||
TypeElement enclosingElement = getEnclosingTypeElement(type);
|
||||
if (enclosingElement != null) {
|
||||
return getQualifiedName(enclosingElement) + "$"
|
||||
+ type.asElement().getSimpleName().toString();
|
||||
+ type.asElement().getSimpleName();
|
||||
}
|
||||
String qualifiedName = getQualifiedName(type.asElement());
|
||||
if (type.getTypeArguments().isEmpty()) {
|
||||
@@ -217,8 +217,7 @@ class TypeUtils {
|
||||
TypeElement enclosingElement = getEnclosingTypeElement(element.asType());
|
||||
if (enclosingElement != null) {
|
||||
return getQualifiedName(enclosingElement) + "$"
|
||||
+ ((DeclaredType) element.asType()).asElement().getSimpleName()
|
||||
.toString();
|
||||
+ ((DeclaredType) element.asType()).asElement().getSimpleName();
|
||||
}
|
||||
if (element instanceof TypeElement) {
|
||||
return ((TypeElement) element).getQualifiedName().toString();
|
||||
|
||||
@@ -33,7 +33,7 @@ plugin:
|
||||
When {kotlin-plugin}[Kotlin's Gradle plugin] is applied to a project, the Spring Boot
|
||||
plugin:
|
||||
|
||||
1. Aligns the Koltin version used in Spring Boot's dependency management with the version
|
||||
1. Aligns the Kotlin version used in Spring Boot's dependency management with the version
|
||||
of the plugin. This is achieved by setting the `kotlin.version` property with a value
|
||||
that matches the version of the Kotlin plugin.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user