This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 8e62bbcd734 Regen for commit e6aec61b2aa74dbe1a90f8739d4cee5bb42fed9a
8e62bbcd734 is described below
commit 8e62bbcd7343a98c942bfc8eae88f302545967eb
Author: davsclaus <[email protected]>
AuthorDate: Wed Nov 9 12:38:24 2022 +0000
Regen for commit e6aec61b2aa74dbe1a90f8739d4cee5bb42fed9a
Signed-off-by: GitHub <[email protected]>
---
.../org/apache/camel/dataformat/soap/Soap11DataFormatAdapter.java | 3 ++-
.../org/apache/camel/dataformat/soap/Soap12DataFormatAdapter.java | 3 ++-
.../camel/converter/soap/name/ServiceInterfaceStrategyTest.java | 6 ++++--
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git
a/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/Soap11DataFormatAdapter.java
b/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/Soap11DataFormatAdapter.java
index 4af0638a49e..06a4578d01b 100644
---
a/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/Soap11DataFormatAdapter.java
+++
b/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/Soap11DataFormatAdapter.java
@@ -215,7 +215,8 @@ public class Soap11DataFormatAdapter implements
SoapDataFormatAdapter {
JAXBElement<?> detailEl = (JAXBElement<?>) detailObj;
Class<? extends Exception> exceptionClass
- =
getDataFormat().getElementNameStrategy().findExceptionForSoapActionAndFaultName(soapAction,
detailEl.getName());
+ =
getDataFormat().getElementNameStrategy().findExceptionForSoapActionAndFaultName(soapAction,
+ detailEl.getName());
Constructor<? extends Exception> messageConstructor;
Constructor<? extends Exception> constructor;
diff --git
a/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/Soap12DataFormatAdapter.java
b/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/Soap12DataFormatAdapter.java
index 262e325000c..9754e7ce56d 100644
---
a/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/Soap12DataFormatAdapter.java
+++
b/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/Soap12DataFormatAdapter.java
@@ -230,7 +230,8 @@ public class Soap12DataFormatAdapter implements
SoapDataFormatAdapter {
JAXBElement<?> detailEl = (JAXBElement<?>) detailObj;
Class<? extends Exception> exceptionClass
- =
getDataFormat().getElementNameStrategy().findExceptionForSoapActionAndFaultName(soapAction,
detailEl.getName());
+ =
getDataFormat().getElementNameStrategy().findExceptionForSoapActionAndFaultName(soapAction,
+ detailEl.getName());
Constructor<? extends Exception> messageConstructor;
Constructor<? extends Exception> constructor;
diff --git
a/components/camel-soap/src/test/java/org/apache/camel/converter/soap/name/ServiceInterfaceStrategyTest.java
b/components/camel-soap/src/test/java/org/apache/camel/converter/soap/name/ServiceInterfaceStrategyTest.java
index 8ed262a565b..a1cbf9f5194 100644
---
a/components/camel-soap/src/test/java/org/apache/camel/converter/soap/name/ServiceInterfaceStrategyTest.java
+++
b/components/camel-soap/src/test/java/org/apache/camel/converter/soap/name/ServiceInterfaceStrategyTest.java
@@ -138,8 +138,10 @@ public class ServiceInterfaceStrategyTest {
public void testQNameToException() {
ServiceInterfaceStrategy strategy = new
ServiceInterfaceStrategy(TestService.class, true);
QName soapExceptionMultipleDefined = new
QName("http://www.example.com/duplicateerror", "soapException");
- assertEquals(ExceptionA.class,
strategy.findExceptionForSoapActionAndFaultName("throwErrorA",
soapExceptionMultipleDefined));
- assertEquals(ExceptionB.class,
strategy.findExceptionForSoapActionAndFaultName("throwErrorB",
soapExceptionMultipleDefined));
+ assertEquals(ExceptionA.class,
+ strategy.findExceptionForSoapActionAndFaultName("throwErrorA",
soapExceptionMultipleDefined));
+ assertEquals(ExceptionB.class,
+ strategy.findExceptionForSoapActionAndFaultName("throwErrorB",
soapExceptionMultipleDefined));
// This is implementation dependant (position in HashMap) one of
ExceptionA or ExceptionB
Class<? extends Exception> multiDefinedException =
strategy.findExceptionForFaultName(soapExceptionMultipleDefined);