You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2008/11/28 05:19:27 UTC
svn commit: r721334 -
/activemq/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java
Author: ningjiang
Date: Thu Nov 27 20:19:27 2008
New Revision: 721334
URL: http://svn.apache.org/viewvc?rev=721334&view=rev
Log:
CAMEL-1124 mini updated the wiki snippet comments
Modified:
activemq/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java
Modified: activemq/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java?rev=721334&r1=721333&r2=721334&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java (original)
+++ activemq/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java Thu Nov 27 20:19:27 2008
@@ -54,16 +54,16 @@
private static final SoapFault SOAP_FAULT;
private Bus bus;
-
- // START SNIPPET: FaultDefine
+
static {
+ // START SNIPPET: FaultDefine
SOAP_FAULT = new SoapFault(EXCEPTION_MESSAGE, SoapFault.FAULT_CODE_CLIENT);
Element detail = SOAP_FAULT.getOrCreateDetail();
Document doc = detail.getOwnerDocument();
Text tn = doc.createTextNode(DETAIL_TEXT);
detail.appendChild(tn);
- }
- // END SNIPPET: FaultDefine
+ // END SNIPPET: FaultDefine
+ }
@Override
protected void setUp() throws Exception {