Author: igorz
Date: 2008-02-11 07:54:56 -0500 (Mon, 11 Feb 2008)
New Revision: 95433
Modified:
branches/mainsoft/gh2.2/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs
Log:
added TARGET_J2EE ifdef
Modified:
branches/mainsoft/gh2.2/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs
===================================================================
---
branches/mainsoft/gh2.2/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs
2008-02-11 12:21:21 UTC (rev 95432)
+++
branches/mainsoft/gh2.2/mcs/class/System.Web/System.Web.UI/ObjectStateFormatter.cs
2008-02-11 12:54:56 UTC (rev 95433)
@@ -401,7 +401,7 @@
public static void WriteObject (BinaryWriter w, object
o, WriterContext ctx)
{
-#if TRACE
+#if TRACE && !TARGET_J2EE
if (o != null) {
Trace.WriteLine (String.Format
("Writing {0} (type: {1})", o, o.GetType ()));
Trace.Indent ();
@@ -443,7 +443,7 @@
}
fmt.Write (w, o, ctx);
-#if TRACE
+#if TRACE && !TARGET_J2EE
Trace.Unindent ();
Trace.WriteLine (String.Format ("Wrote {0}
(type: {1}) {2} bytes", o, o.GetType (), w.BaseStream.Position - pos));
#endif
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches