mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-11-22 16:04:50 +01:00
fix: removed redundant loop
This commit is contained in:
parent
1c072781f3
commit
b394f7c5f0
1 changed files with 0 additions and 2 deletions
|
@ -130,8 +130,6 @@ public class JavaPoetUtils {
|
||||||
else {
|
else {
|
||||||
ArrayContainer arr = new ArrayContainer(t);
|
ArrayContainer arr = new ArrayContainer(t);
|
||||||
TypeName type = TypeName.get(arr.innermostComponent);
|
TypeName type = TypeName.get(arr.innermostComponent);
|
||||||
while(type instanceof ArrayTypeName)
|
|
||||||
type = ((ArrayTypeName) type).componentType;
|
|
||||||
if(type instanceof ParameterizedTypeName)
|
if(type instanceof ParameterizedTypeName)
|
||||||
type = ((ParameterizedTypeName) type).rawType;
|
type = ((ParameterizedTypeName) type).rawType;
|
||||||
b.addStatement(
|
b.addStatement(
|
||||||
|
|
Loading…
Reference in a new issue