Author: arina
Date: 2008-02-04 03:36:31 -0500 (Mon, 04 Feb 2008)
New Revision: 94728

Modified:
   trunk/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaExporter.cs
Log:
Fix of formatting.

Modified: 
trunk/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaExporter.cs
===================================================================
--- trunk/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaExporter.cs    
2008-02-04 06:57:41 UTC (rev 94727)
+++ trunk/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaExporter.cs    
2008-02-04 08:36:31 UTC (rev 94728)
@@ -239,15 +239,15 @@
                                schemas.Add (map.Schema);
                                ImportNamespace (currentSchema, targetNs);
                }
-                       else if (existingSchema != map.Schema && 
!CanBeDuplicated (existingSchema, map.Schema))
+               else if (existingSchema != map.Schema && !CanBeDuplicated 
(existingSchema, map.Schema))
                {
                                throw new InvalidOperationException("The 
namespace '" + targetNs +"' defined by the class '" + map.TypeFullName + "' is 
a duplicate.");
                }
                }
 
-               private static bool CanBeDuplicated(XmlSchema existingSchema, 
XmlSchema schema)
+               private static bool CanBeDuplicated (XmlSchema existingSchema, 
XmlSchema schema)
                {
-                       if(XmlSchemas.IsDataSet(existingSchema) && 
XmlSchemas.IsDataSet(schema)
+                       if(XmlSchemas.IsDataSet (existingSchema) && 
XmlSchemas.IsDataSet (schema)
                                && existingSchema.Id == schema.Id)
                                return true;
                        return false;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to