From e9cae6c72012a5062b68b883f04658f1ce3c071e Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Mon, 17 Dec 2018 13:50:41 +0100 Subject: [PATCH] Cleanup (formatting) --- .../struct/gen/generics/GenericType.java | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/org/jetbrains/java/decompiler/struct/gen/generics/GenericType.java b/src/org/jetbrains/java/decompiler/struct/gen/generics/GenericType.java index fa0256d..60bffdb 100644 --- a/src/org/jetbrains/java/decompiler/struct/gen/generics/GenericType.java +++ b/src/org/jetbrains/java/decompiler/struct/gen/generics/GenericType.java @@ -28,15 +28,11 @@ public class GenericType { this.value = value; } - public GenericType(GenericType other, int arrayDim) { - this.type = other.type; - this.value = other.value; - - this.enclosingClasses.addAll(other.enclosingClasses); - this.arguments.addAll(other.arguments); - this.wildcards.addAll(other.wildcards); - - this.arrayDim = arrayDim; + private GenericType(GenericType other, int arrayDim) { + this(other.type, arrayDim, other.value); + enclosingClasses.addAll(other.enclosingClasses); + arguments.addAll(other.arguments); + wildcards.addAll(other.wildcards); } public GenericType(String signature) {