From a900d257b8c7074d4a90c87c3e3527db3c7bb540 Mon Sep 17 00:00:00 2001 From: MASES Public Developers Team <94312179+masesdevelopers@users.noreply.github.com> Date: Thu, 19 Sep 2024 16:14:41 +0200 Subject: [PATCH] Fix #520 (#532) --- src/net/JNetReflector/InternalMethods.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/net/JNetReflector/InternalMethods.cs b/src/net/JNetReflector/InternalMethods.cs index 443998042b..48a8a42835 100644 --- a/src/net/JNetReflector/InternalMethods.cs +++ b/src/net/JNetReflector/InternalMethods.cs @@ -110,16 +110,16 @@ public static void Reflect() else throw new ArgumentException("At least one of ClassesToAnaylyze, JarsToAnalyze or ModulesToParse must be set"); w.Stop(); - if (JNetReflectorCore.JarsToAnalyze != null) - { - foreach (var item in _allPackages) - { - var packageContent = File.ReadAllText(item.Key); - var itemPackage = packageContent.Replace(AllPackageClasses.CLASSES, string.Empty); - - WriteFile(item.Key, itemPackage); - } - } + //if (JNetReflectorCore.JarsToAnalyze != null) + //{ + // foreach (var item in _allPackages) + // { + // var packageContent = File.ReadAllText(item.Key); + // var itemPackage = packageContent.Replace(AllPackageClasses.CLASSES, string.Empty); + + // WriteFile(item.Key, itemPackage); + // } + //} Console.WriteLine(); Console.WriteLine($"Operation completed at {DateTime.Now} in {w.Elapsed}. Namespaces: {namespaces} - Classes: {classes}");