Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
masesdevelopers committed Sep 19, 2024
1 parent 5713321 commit 766c566
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/net/JNetReflector/InternalMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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}");
Expand Down

0 comments on commit 766c566

Please sign in to comment.