Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
a4b8d240
Commit
a4b8d240
authored
Sep 02, 2019
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.1.x'
Closes gh-18094
parents
b463acb1
abba4fa9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
18 deletions
+11
-18
TypeUtils.java
...pringframework/boot/configurationprocessor/TypeUtils.java
+11
-18
No files found.
spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeUtils.java
View file @
a4b8d240
...
@@ -38,7 +38,6 @@ import javax.lang.model.type.TypeMirror;
...
@@ -38,7 +38,6 @@ import javax.lang.model.type.TypeMirror;
import
javax.lang.model.type.TypeVariable
;
import
javax.lang.model.type.TypeVariable
;
import
javax.lang.model.util.SimpleTypeVisitor8
;
import
javax.lang.model.util.SimpleTypeVisitor8
;
import
javax.lang.model.util.Types
;
import
javax.lang.model.util.Types
;
import
javax.tools.Diagnostic.Kind
;
/**
/**
* Type Utilities.
* Type Utilities.
...
@@ -232,7 +231,6 @@ class TypeUtils {
...
@@ -232,7 +231,6 @@ class TypeUtils {
}
}
private
void
process
(
TypeDescriptor
descriptor
,
TypeMirror
type
)
{
private
void
process
(
TypeDescriptor
descriptor
,
TypeMirror
type
)
{
try
{
if
(
type
.
getKind
()
==
TypeKind
.
DECLARED
)
{
if
(
type
.
getKind
()
==
TypeKind
.
DECLARED
)
{
DeclaredType
declaredType
=
(
DeclaredType
)
type
;
DeclaredType
declaredType
=
(
DeclaredType
)
type
;
DeclaredType
freshType
=
(
DeclaredType
)
this
.
env
.
getElementUtils
()
DeclaredType
freshType
=
(
DeclaredType
)
this
.
env
.
getElementUtils
()
...
@@ -247,11 +245,6 @@ class TypeUtils {
...
@@ -247,11 +245,6 @@ class TypeUtils {
process
(
descriptor
,
element
.
getSuperclass
());
process
(
descriptor
,
element
.
getSuperclass
());
}
}
}
}
catch
(
Exception
ex
)
{
this
.
env
.
getMessager
().
printMessage
(
Kind
.
WARNING
,
"Failed to generated type descriptor for "
+
type
,
this
.
types
.
asElement
(
type
));
}
}
/**
/**
* A visitor that extracts the fully qualified name of a type, including generic
* A visitor that extracts the fully qualified name of a type, including generic
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment