From 8e5a20e59e081bb40f1f3faa69ae529575dbc94b Mon Sep 17 00:00:00 2001 From: Daniel Holle Date: Wed, 31 May 2023 11:38:47 +0200 Subject: [PATCH] Fix incorrect signature --- src/main/java/de/dhbwstuttgart/bytecode/FunNGenerator.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/dhbwstuttgart/bytecode/FunNGenerator.java b/src/main/java/de/dhbwstuttgart/bytecode/FunNGenerator.java index 422d5e7c..bf4c6730 100644 --- a/src/main/java/de/dhbwstuttgart/bytecode/FunNGenerator.java +++ b/src/main/java/de/dhbwstuttgart/bytecode/FunNGenerator.java @@ -95,9 +95,10 @@ public class FunNGenerator { boolean containsGeneric = false; String genericSignature = "<"; - for (var i = 0; i < start[0]; i++) + for (var i = 0; i < start[0]; i++) { genericSignature += String.format("T%d:%s", i, objectSignature); - containsGeneric = true; + containsGeneric = true; + } genericSignature += ">"; if (containsGeneric) funNClassSignature.insert(0, genericSignature);