diff options
Diffstat (limited to 'java/sca')
2 files changed, 0 insertions, 2 deletions
diff --git a/java/sca/modules/databinding-jaxb-axiom/src/main/java/org/apache/tuscany/sca/databinding/jaxb/axiom/JAXB2OMElement.java b/java/sca/modules/databinding-jaxb-axiom/src/main/java/org/apache/tuscany/sca/databinding/jaxb/axiom/JAXB2OMElement.java index c4726ad8fa..9b11e2ff11 100644 --- a/java/sca/modules/databinding-jaxb-axiom/src/main/java/org/apache/tuscany/sca/databinding/jaxb/axiom/JAXB2OMElement.java +++ b/java/sca/modules/databinding-jaxb-axiom/src/main/java/org/apache/tuscany/sca/databinding/jaxb/axiom/JAXB2OMElement.java @@ -45,7 +45,6 @@ public class JAXB2OMElement extends BaseTransformer<Object, OMElement> implement return JAXBDataBinding.NAME; } - @SuppressWarnings("unchecked") public OMElement transform(Object source, TransformationContext context) throws TransformationException { JAXBContext jaxbContext; try { diff --git a/java/sca/modules/databinding-jaxb-axiom/src/main/java/org/apache/tuscany/sca/databinding/jaxb/axiom/OMElement2JAXB.java b/java/sca/modules/databinding-jaxb-axiom/src/main/java/org/apache/tuscany/sca/databinding/jaxb/axiom/OMElement2JAXB.java index 4f867a8af7..8e9b32cfc0 100644 --- a/java/sca/modules/databinding-jaxb-axiom/src/main/java/org/apache/tuscany/sca/databinding/jaxb/axiom/OMElement2JAXB.java +++ b/java/sca/modules/databinding-jaxb-axiom/src/main/java/org/apache/tuscany/sca/databinding/jaxb/axiom/OMElement2JAXB.java @@ -46,7 +46,6 @@ public class OMElement2JAXB extends BaseTransformer<OMElement, Object> implement return org.apache.axiom.om.OMElement.class.getName(); } - @SuppressWarnings("unchecked") public Object transform(final OMElement source, final TransformationContext context) throws TransformationException { try { return AccessController.doPrivileged(new PrivilegedExceptionAction<Object>() { |