Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorNitin Dahyabhai2020-05-18 01:53:06 +0000
committerNitin Dahyabhai2020-05-18 01:53:06 +0000
commit49eaaa62599fc6636aa61190ad0135f53c33fd88 (patch)
tree2b18f34bf3f244129cb19ebe068eea6b240401e8 /web
parent9f79409a5e531be79b49aafd4387192e1f080398 (diff)
downloadwebtools.sourceediting-49eaaa62599fc6636aa61190ad0135f53c33fd88.tar.gz
webtools.sourceediting-49eaaa62599fc6636aa61190ad0135f53c33fd88.tar.xz
webtools.sourceediting-49eaaa62599fc6636aa61190ad0135f53c33fd88.zip
[513030] decrease the severity for unresolved variables in JSP fragments, case: "IProblem.UndefinedName"
Diffstat (limited to 'web')
-rw-r--r--web/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/validation/JSPJavaValidator.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/validation/JSPJavaValidator.java b/web/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/validation/JSPJavaValidator.java
index cac54b1f82..7247b39d09 100644
--- a/web/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/validation/JSPJavaValidator.java
+++ b/web/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/validation/JSPJavaValidator.java
@@ -194,6 +194,7 @@ public class JSPJavaValidator extends JSPValidator {
sev = ValidationMessage.IGNORE;
}
break;
+ case IProblem.UndefinedName:
case IProblem.UnresolvedVariable : {
try {
// If the unresolved variable is in a fragment, post as a warning. The fragment may be included in a page that has declared the variable

Back to the top