Author: gert
Date: 2007-06-25 13:56:16 -0400 (Mon, 25 Jun 2007)
New Revision: 80705
Modified:
trunk/mcs/tools/corcompare/ChangeLog
trunk/mcs/tools/corcompare/mono-api-diff.cs
Log:
* mono-api-diff.cs: Fixed line endings.
Modified: trunk/mcs/tools/corcompare/ChangeLog
===================================================================
--- trunk/mcs/tools/corcompare/ChangeLog 2007-06-25 17:54:06 UTC (rev
80704)
+++ trunk/mcs/tools/corcompare/ChangeLog 2007-06-25 17:56:16 UTC (rev
80705)
@@ -1,3 +1,7 @@
+2007-06-25 Gert Driesen <[EMAIL PROTECTED]>
+
+ * mono-api-diff.cs: Fixed line endings.
+
2007-06-18 Gert Driesen <[EMAIL PROTECTED]>
* mono-api-info.cs: do not ignore overloaded operators.
Modified: trunk/mcs/tools/corcompare/mono-api-diff.cs
===================================================================
--- trunk/mcs/tools/corcompare/mono-api-diff.cs 2007-06-25 17:54:06 UTC (rev
80704)
+++ trunk/mcs/tools/corcompare/mono-api-diff.cs 2007-06-25 17:56:16 UTC (rev
80705)
@@ -3,7 +3,7 @@
// produces a file suitable to build class status pages.
//
// Authors:
-// Gonzalo Paniagua Javier ([EMAIL PROTECTED])
+// Gonzalo Paniagua Javier ([EMAIL PROTECTED])
// Marek Safar ([EMAIL PROTECTED])
//
// (C) 2003 Novell, Inc (http://www.novell.com)
@@ -955,12 +955,12 @@
if (node.Attributes["optional"] != null)
isOptional = bool.Parse
(node.Attributes["optional"].Value);
if (node.Attributes["defaultValue"] != null)
- defaultValue =
node.Attributes["defaultValue"].Value;
-
- XmlNode child = node.FirstChild;
- if (child == null)
- return;
+ defaultValue =
node.Attributes["defaultValue"].Value;
+ XmlNode child = node.FirstChild;
+ if (child == null)
+ return;
+
if (child.Name == "attributes") {
attributes = new XMLAttributes ();
attributes.LoadData (child);
@@ -994,16 +994,16 @@
if (attributes != null || oparm.attributes != null) {
if (attributes == null)
- attributes = new XMLAttributes ();
-
+ attributes = new XMLAttributes ();
+
attributes.CompareTo (doc, parent,
oparm.attributes);
counters.AddPartialToPartial
(attributes.Counters);
if (oparm.attributes != null &&
oparm.attributes.IsTodo) {
counters.Todo++;
counters.TodoTotal++;
counters.ErrorTotal++;
- AddAttribute (parent, "error", "todo");
- if (oparm.attributes.Comment != null)
+ AddAttribute (parent, "error", "todo");
+ if (oparm.attributes.Comment != null)
AddAttribute (parent,
"comment", oparm.attributes.Comment);
}
}
Property changes on: trunk/mcs/tools/corcompare/mono-api-diff.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches