From 24ce6c67dbdccb88543f4dff5ccecd1c2f56fdde Mon Sep 17 00:00:00 2001 From: Volker Berlin Date: Sat, 8 Jan 2022 21:11:48 +0100 Subject: [PATCH] more debug infos on scan --- .../inetsoftware/jwebassembly/module/FunctionManager.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/de/inetsoftware/jwebassembly/module/FunctionManager.java b/src/de/inetsoftware/jwebassembly/module/FunctionManager.java index 361c992..c67335a 100644 --- a/src/de/inetsoftware/jwebassembly/module/FunctionManager.java +++ b/src/de/inetsoftware/jwebassembly/module/FunctionManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2018 - 2021 Volker Berlin (i-net software) + * Copyright 2018 - 2022 Volker Berlin (i-net software) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -94,7 +94,9 @@ class FunctionManager { * the name of the class like "java/lang/Object" */ void markClassAsUsed( String className ) { - usedClasses.add( className ); + if( usedClasses.add( className ) ) { + JWebAssembly.LOGGER.fine( "\t\tused: " + className ); + } } /**