axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r644361 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/util/XMLFaultUtils.java
Date Thu, 03 Apr 2008 15:30:09 GMT
Author: dims
Date: Thu Apr  3 08:30:08 2008
New Revision: 644361

URL: http://svn.apache.org/viewvc?rev=644361&view=rev
Log:
Remove ununsed private method

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/util/XMLFaultUtils.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/util/XMLFaultUtils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/util/XMLFaultUtils.java?rev=644361&r1=644360&r2=644361&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/util/XMLFaultUtils.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/util/XMLFaultUtils.java
Thu Apr  3 08:30:08 2008
@@ -329,30 +329,6 @@
     }
 
 
-    private static Block[] getDetailBlocks(SOAPFault soapFault) throws WebServiceException
{
-        try {
-            Block[] blocks = null;
-            SOAPFaultDetail detail = soapFault.getDetail();
-            if (detail != null) {
-                // Create a block for each element
-                OMBlockFactory bf =
-                        (OMBlockFactory)FactoryRegistry.getFactory(OMBlockFactory.class);
-                ArrayList<Block> list = new ArrayList<Block>();
-                Iterator it = detail.getChildElements();
-                while (it.hasNext()) {
-                    OMElement om = (OMElement)it.next();
-                    Block b = bf.createFrom(om, null, om.getQName());
-                    list.add(b);
-                }
-                blocks = new Block[list.size()];
-                blocks = list.toArray(blocks);
-            }
-            return blocks;
-        } catch (Exception e) {
-            throw ExceptionFactory.makeWebServiceException(e);
-        }
-    }
-
     private static Block[] getDetailBlocks(javax.xml.soap.SOAPFault soapFault)
             throws WebServiceException {
         try {



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message