diff options
author | zaaarf <zaaarf@proton.me> | 2023-03-18 21:55:59 +0100 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-03-18 21:55:59 +0100 |
commit | b394f7c5f0db2cf6e4f36ea4609e9b69618a834f (patch) | |
tree | bc7c0319da00b9b785edf14f704c71ddd80137a2 /src | |
parent | 1c072781f3b49c5bd388f15e787e4aad3ff49059 (diff) |
fix: removed redundant loop
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/ftbsc/lll/processor/tools/JavaPoetUtils.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/ftbsc/lll/processor/tools/JavaPoetUtils.java b/src/main/java/ftbsc/lll/processor/tools/JavaPoetUtils.java index 725e258..d59bc11 100644 --- a/src/main/java/ftbsc/lll/processor/tools/JavaPoetUtils.java +++ b/src/main/java/ftbsc/lll/processor/tools/JavaPoetUtils.java @@ -130,8 +130,6 @@ public class JavaPoetUtils { else { ArrayContainer arr = new ArrayContainer(t); TypeName type = TypeName.get(arr.innermostComponent); - while(type instanceof ArrayTypeName) - type = ((ArrayTypeName) type).componentType; if(type instanceof ParameterizedTypeName) type = ((ParameterizedTypeName) type).rawType; b.addStatement( |