Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Trimble2014-08-21 19:44:12 -0400
committerIan Trimble2014-08-21 19:44:12 -0400
commitad67ee1c6cb04cf906eaa0d647daff14332e522c (patch)
tree661724a6c7b5a3047701ed2d2ce67c395e48f5fd
parentb0f1a54808f1d7dd3788eef50c31e1702018bb40 (diff)
downloadwebtools.jsf-ad67ee1c6cb04cf906eaa0d647daff14332e522c.tar.gz
webtools.jsf-ad67ee1c6cb04cf906eaa0d647daff14332e522c.tar.xz
webtools.jsf-ad67ee1c6cb04cf906eaa0d647daff14332e522c.zip
Bug 243674 - [hotbug] Default configuration for JSF EL validation is toov201408211646
strict
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.common/src/org/eclipse/jst/jsf/common/internal/types/TypeComparatorPreferences.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/validation/internal/ELValidationPreferences.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.common/src/org/eclipse/jst/jsf/common/internal/types/TypeComparatorPreferences.java b/jsf/plugins/org.eclipse.jst.jsf.common/src/org/eclipse/jst/jsf/common/internal/types/TypeComparatorPreferences.java
index 49f63bc6a..b3d2e25e9 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.common/src/org/eclipse/jst/jsf/common/internal/types/TypeComparatorPreferences.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.common/src/org/eclipse/jst/jsf/common/internal/types/TypeComparatorPreferences.java
@@ -36,7 +36,7 @@ public class TypeComparatorPreferences
case TypeComparatorDiagnosticFactory.VALUE_EXPRESSION_EXPECTED_ID:
return Diagnostic.ERROR;
case TypeComparatorDiagnosticFactory.INCOMPATIBLE_METHOD_TYPES_ID:
- return Diagnostic.ERROR;
+ return Diagnostic.WARNING; /* Bug 243674 */
case TypeComparatorDiagnosticFactory.PROPERTY_NOT_READABLE_ID:
return Diagnostic.WARNING;
case TypeComparatorDiagnosticFactory.PROPERTY_NOT_WRITABLE_ID:
diff --git a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/validation/internal/ELValidationPreferences.java b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/validation/internal/ELValidationPreferences.java
index 522042e06..4cfde80f3 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/validation/internal/ELValidationPreferences.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/validation/internal/ELValidationPreferences.java
@@ -361,7 +361,7 @@ public class ELValidationPreferences implements IJSFPreferenceModel
case DiagnosticFactory.UNARY_OP_COULD_NOT_MAKE_NUMERIC_COERCION_ID:
return Diagnostic.ERROR;
case DiagnosticFactory.UNARY_OP_CANNOT_COERCE_ARGUMENT_TO_BOOLEAN_ID:
- return Diagnostic.ERROR;
+ return Diagnostic.WARNING; /* Bug 243674 */
case DiagnosticFactory.TERNARY_OP_CHOICE_IS_ALWAYS_SAME_ID:
return Diagnostic.WARNING;
case DiagnosticFactory.TERNARY_OP_CANNOT_COERCE_CHOICE_TO_BOOLEAN_ID:

Back to the top