From 3b1e6e0f2c5690305f0ffb428360a0194ca15dee Mon Sep 17 00:00:00 2001 From: Jerome Haltom Date: Sat, 9 Dec 2023 17:46:43 -0600 Subject: [PATCH] Remove trace stuff. --- .../MavenReferenceItemResolve.cs | 28 +------------------ 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/src/IKVM.Maven.Sdk.Tasks/MavenReferenceItemResolve.cs b/src/IKVM.Maven.Sdk.Tasks/MavenReferenceItemResolve.cs index c1592e9..caf2189 100644 --- a/src/IKVM.Maven.Sdk.Tasks/MavenReferenceItemResolve.cs +++ b/src/IKVM.Maven.Sdk.Tasks/MavenReferenceItemResolve.cs @@ -1,7 +1,6 @@ using System; using System.Collections; using System.Collections.Generic; -using System.Diagnostics; using System.IO; using System.Linq; using System.Text; @@ -54,38 +53,13 @@ public class MavenReferenceItemResolve : Task } }; - static MSBuildLogTraceListener listener; - - static MavenReferenceItemResolve() - { - IKVM.Runtime.Tracer.SetTraceLevel("jni", System.Diagnostics.TraceLevel.Verbose); - Trace.Listeners.Add(listener = new MSBuildLogTraceListener()); - } - - class MSBuildLogTraceListener : TraceListener - { - - public Task task; - - public override void Write(string message) - { - task.Log.LogMessage(message); - } - - public override void WriteLine(string message) - { - task.Log.LogMessage(message); - } - - } - /// /// Initializes a new instance. /// public MavenReferenceItemResolve() : base(SR.ResourceManager, "MAVEN:") { - listener.task = this; + } ///