diff options
author | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-09 22:17:58 +0000 |
---|---|---|
committer | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-09 22:17:58 +0000 |
commit | 775280b7f190ff5d44fd6b93f325aa8bbf809a2d (patch) | |
tree | 0f87edbffebe1b923c340585a31627daeacb7189 /java/sca/modules/databinding-jaxb-axiom | |
parent | 67c5e516af30a06444be3bd690fdbb655091c9b9 (diff) |
Cleaned up two compiler warnings
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@742773 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/databinding-jaxb-axiom')
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>() { |