You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mu...@apache.org on 2010/03/27 16:12:09 UTC

svn commit: r928214 - /xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java

Author: mukulg
Date: Sat Mar 27 15:12:08 2010
New Revision: 928214

URL: http://svn.apache.org/viewvc?rev=928214&view=rev
Log:
setting SVN properties on the file

Modified:
    xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java   (contents, props changed)

Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java?rev=928214&r1=928213&r2=928214&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java Sat Mar 27 15:12:08 2010
@@ -1,51 +1,51 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.xerces.impl.xs.util;
-
-import org.apache.xerces.xs.XSTypeDefinition;
-
-/**
- * Utility methods related to schema types.
- * 
- * @author Mukul Gandhi, IBM
- * @version $Id: $
- */
-public class XSTypeHelper {
-    
-    /*
-     * Checks if the two schema type components are identical.
-     */
-    public static boolean schemaTypesIdentical(XSTypeDefinition typeDefn1,
-                                               XSTypeDefinition typeDefn2) {
-        boolean typesIdentical = false;
-        
-        String type1Ns = typeDefn1.getNamespace();
-        String type1Name = typeDefn1.getName();        
-        boolean nsEqual = false;           
-        if ((type1Ns != null && type1Ns.equals(typeDefn2.getNamespace())) ||
-                  (type1Ns == null && typeDefn2.getNamespace() == null)) {
-           nsEqual = true;   
-        }
-        if (nsEqual == true && type1Name.equals(typeDefn2.getName())) {
-           typesIdentical = true;   
-        }
-        
-        return typesIdentical;
-        
-    } // end of, schemaTypesIdentical
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.xerces.impl.xs.util;
+
+import org.apache.xerces.xs.XSTypeDefinition;
+
+/**
+ * Utility methods related to schema types.
+ * 
+ * @author Mukul Gandhi, IBM
+ * @version $Id$
+ */
+public class XSTypeHelper {
+    
+    /*
+     * Checks if the two schema type components are identical.
+     */
+    public static boolean schemaTypesIdentical(XSTypeDefinition typeDefn1,
+                                               XSTypeDefinition typeDefn2) {
+        boolean typesIdentical = false;
+        
+        String type1Ns = typeDefn1.getNamespace();
+        String type1Name = typeDefn1.getName();        
+        boolean nsEqual = false;           
+        if ((type1Ns != null && type1Ns.equals(typeDefn2.getNamespace())) ||
+                  (type1Ns == null && typeDefn2.getNamespace() == null)) {
+           nsEqual = true;   
+        }
+        if (nsEqual == true && type1Name.equals(typeDefn2.getName())) {
+           typesIdentical = true;   
+        }
+        
+        return typesIdentical;
+        
+    } // end of, schemaTypesIdentical
+}

Propchange: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org