This is an automated email from the ASF dual-hosted git repository.
sergeyb pushed a commit to branch 3.1.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/3.1.x-fixes by this push:
new d5dd85e Removing unused code in JAXBUtils, spotted by Colm
d5dd85e is described below
commit d5dd85ec2b1273aa1cb09abcfa53540bb6a3df1f
Author: Sergey Beryozkin <[email protected]>
AuthorDate: Thu Oct 19 16:04:40 2017 +0100
Removing unused code in JAXBUtils, spotted by Colm
---
.../jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXBUtils.java | 3 ---
1 file changed, 3 deletions(-)
diff --git
a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXBUtils.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXBUtils.java
index 4cc91ec..12b1e2b 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXBUtils.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXBUtils.java
@@ -120,9 +120,6 @@ public final class JAXBUtils {
boolean marshal,
Object defaultValue) {
if (typeAdapter != null) {
- if
(InjectionUtils.isSupportedCollectionOrArray(typeAdapter.value().getClass())) {
- return obj;
- }
try {
@SuppressWarnings("rawtypes")
XmlAdapter xmlAdapter = typeAdapter.value().newInstance();
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].