diff options
2 files changed, 4 insertions, 4 deletions
diff --git a/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java b/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java index 5265184ba6..05184f6cd0 100644 --- a/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java +++ b/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java @@ -55,7 +55,7 @@ import org.apache.tuscany.sca.interfacedef.util.XMLType; * @version $Rev$ $Date$ */ // FIXME: [rfeng] We probably should turn this into a pluggable system service -public class JAXBContextHelper { +public final class JAXBContextHelper { // public static final String JAXB_CLASSES = "jaxb.classes"; // public static final String JAXB_CONTEXT_PATH = "jaxb.contextPath"; @@ -79,7 +79,7 @@ public class JAXBContextHelper { if (tContext == null) throw new TransformationException("JAXB context is not set for the transformation."); - // TODO: [rfeng] Need to figure out what's the best grantularity to create the JAXBContext + // TODO: [rfeng] Need to figure out what's the best granularity to create the JAXBContext // per interface, operation or parameter Operation op = source ? tContext.getSourceOperation() : tContext.getTargetOperation(); if (op != null) { diff --git a/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/XMLRootElementUtil.java b/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/XMLRootElementUtil.java index 7eb6437e79..b26c6e7e36 100644 --- a/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/XMLRootElementUtil.java +++ b/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/XMLRootElementUtil.java @@ -44,7 +44,7 @@ import javax.xml.namespace.QName; /** * */ -public class XMLRootElementUtil { +public final class XMLRootElementUtil { /** Constructor is intentionally private. This class only provides static utility methods */ private XMLRootElementUtil() { @@ -273,7 +273,7 @@ public class XMLRootElementUtil { /** * Get an annotation. This is wrappered to avoid a Java2Security violation. * @param cls Class that contains annotation - * @param annotation Class of requrested Annotation + * @param annotation Class of requested Annotation * @return annotation or null */ private static <T extends Annotation> T getAnnotation(final AnnotatedElement element, final Class<T> annotation) { |