From 88e539f2a08c0d0279cb3eed12ce86fd58e39b81 Mon Sep 17 00:00:00 2001 From: Volker Berlin Date: Mon, 24 Feb 2020 11:14:28 +0100 Subject: [PATCH] remove dead code --- .../jwebassembly/module/TypeManager.java | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/src/de/inetsoftware/jwebassembly/module/TypeManager.java b/src/de/inetsoftware/jwebassembly/module/TypeManager.java index 2ac7f25..7100ab3 100644 --- a/src/de/inetsoftware/jwebassembly/module/TypeManager.java +++ b/src/de/inetsoftware/jwebassembly/module/TypeManager.java @@ -18,14 +18,11 @@ package de.inetsoftware.jwebassembly.module; import java.io.IOException; import java.util.ArrayList; -import java.util.Collection; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; -import javax.annotation.Nonnull; - import de.inetsoftware.classparser.ClassFile; import de.inetsoftware.classparser.ClassFile.Type; import de.inetsoftware.classparser.ConstantClass; @@ -86,31 +83,6 @@ public class TypeManager { } } - /** - * Use the type in the output. - * - * @param type - * the reference to a type - * @param id - * the id in the type section of the wasm - * @param fields - * the fields of the type - */ - void useType( StructType type, int id, List fields ) { - type.code = id; - type.fields = fields; - } - - /** - * Get the registered types in numeric order. - * - * @return the types - */ - @Nonnull - Collection getTypes() { - return structTypes.values(); - } - /** * Get the StructType. If needed an instance is created. *