axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r687838 - in /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws: CUtils.java info/WSDLInfo.java
Date Thu, 21 Aug 2008 19:47:43 GMT
Author: nadiramra
Date: Thu Aug 21 12:47:42 2008
New Revision: 687838

URL: http://svn.apache.org/viewvc?rev=687838&view=rev
Log:
Remove unneeded method.

Modified:
    webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/CUtils.java
    webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/WSDLInfo.java

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/CUtils.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/CUtils.java?rev=687838&r1=687837&r2=687838&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/CUtils.java (original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/CUtils.java Thu Aug 21
12:47:42 2008
@@ -753,17 +753,6 @@
             return true;
         else 
             return c_schemaDefinedSimpleTypesMap.containsKey(name);
-    } 
-        
-    /**
-     * Returns boolean indicating whether qname represents a simple type.
-     * 
-     * @param qname
-     * @return
-     */
-    public static boolean isBasicType(QName qname)
-    {
-        return c_qnameToSimpleTypeMapper.containsKey(qname);
     }
     
     /**

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/WSDLInfo.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/WSDLInfo.java?rev=687838&r1=687837&r2=687838&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/WSDLInfo.java (original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/WSDLInfo.java Thu
Aug 21 12:47:42 2008
@@ -537,7 +537,7 @@
             if (null == qn)
                 throw new WrapperFault("Array type found without a Ref type");
             
-            if (CUtils.isBasicType(qn))
+            if (CUtils.isPrimitiveType(qn))
                 return null;
             
             QName newqn = new QName(type.getQName().getNamespaceURI(), qn.getLocalPart()
+ "_Array");
@@ -721,7 +721,7 @@
                                     
                                     typeName = new QName(typeName.getNamespaceURI(), localpart);
                                     
-                                    if (CUtils.isBasicType(typeName))
+                                    if (CUtils.isPrimitiveType(typeName))
                                         newSecondaryType = createTypeInfo(typeName, typeMap);
                                     else
                                         newSecondaryType = createTypeInfo(elem.getTypeEntry(),
typeMap);



Mime
View raw message