diff options
author | Paul Fullbright | 2013-03-19 21:37:27 +0000 |
---|---|---|
committer | Paul Fullbright | 2013-03-19 21:38:05 +0000 |
commit | 28ed0625d068677adacd64dfd7358c970693a8ce (patch) | |
tree | 0f6a5b1bab354f5aa6dff1866856595ef8006007 /jaxb/plugins | |
parent | e6f9831eaa1a3905edfe6015a4dcf47bed32993c (diff) | |
download | webtools.dali-28ed0625d068677adacd64dfd7358c970693a8ce.tar.gz webtools.dali-28ed0625d068677adacd64dfd7358c970693a8ce.tar.xz webtools.dali-28ed0625d068677adacd64dfd7358c970693a8ce.zip |
Relaxed validation severity for factory method paramsv201303210123
Diffstat (limited to 'jaxb/plugins')
2 files changed, 2 insertions, 1 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/property_files/jpt_jaxb_core_validation.properties b/jaxb/plugins/org.eclipse.jpt.jaxb.core/property_files/jpt_jaxb_core_validation.properties index 56050e464f..97b2d269d8 100644 --- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/property_files/jpt_jaxb_core_validation.properties +++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/property_files/jpt_jaxb_core_validation.properties @@ -57,7 +57,7 @@ XML_ELEMENT__ILLEGAL_TYPE = XML element type must be a sub-type of ''{0}''. XML_ELEMENT__INVALID_SCHEMA_TYPE = The expected XML type associated with ''{0}'' is not valid for XML element ''{1}''. XML_ELEMENT_DECL__INVALID_METHOD_SIGNATURE_RETURN_TYPE = An element factory method must have a return type of 'javax.xml.bind.JAXBElement'. -XML_ELEMENT_DECL__INVALID_METHOD_SIGNATURE_PARAM = An element factory method must have a single parameter assignable to 'java.lang.Object'. +XML_ELEMENT_DECL__INVALID_METHOD_SIGNATURE_PARAM = An element factory method should have a single parameter assignable to 'java.lang.Object'. XML_ELEMENT_DECL__SUBST_HEAD_NAME_EQUALS_NAME = XML element decl substitution head must not match its XML element. XML_ELEMENT_DECL__SUBST_HEAD_NO_MATCHING_ELEMENT_DECL = XML element decl substitution head must match another XML element decl. diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/validation/JptJaxbCoreValidationMessages.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/validation/JptJaxbCoreValidationMessages.java index 68348df4d8..41470cbac4 100644 --- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/validation/JptJaxbCoreValidationMessages.java +++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/validation/JptJaxbCoreValidationMessages.java @@ -159,6 +159,7 @@ public class JptJaxbCoreValidationMessages { // WARNINGs PACKAGE_NO_SCHEMA_FOR_NAMESPACE.setDefaultSeverity(IMessage.NORMAL_SEVERITY); + XML_ELEMENT_DECL__INVALID_METHOD_SIGNATURE_PARAM.setDefaultSeverity(IMessage.NORMAL_SEVERITY); XML_TYPE__FACTORY_CLASS_IGNORED_FOR_ENUM.setDefaultSeverity(IMessage.NORMAL_SEVERITY); XML_TYPE__FACTORY_METHOD_IGNORED_FOR_ENUM.setDefaultSeverity(IMessage.NORMAL_SEVERITY); XML_TYPE__PROP_ORDER_IGNORED_FOR_ENUM.setDefaultSeverity(IMessage.NORMAL_SEVERITY); |