[424131] JSDT Parser doesn't respect "Enable Semantic Validation" preference value

Rollback of improper fix

Signed-off-by: vrubezhny <vrubezhny@exadel.com>
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/problem/ProblemReporter.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/problem/ProblemReporter.java
index 47ee20b..c780b34 100644
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/problem/ProblemReporter.java
+++ b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/problem/ProblemReporter.java
@@ -532,9 +532,7 @@
 	 * If semantic validation is not enabled and this is anything but a
 	 * syntax, documentation, or task problem, ignore.
 	 */
-	if (!this.options.enableSemanticValidation && 
-				((problemID & ProblemSeverities.Optional) != 0 ||
-					((problemID & IProblem.Syntax) == 0 && (problemID & IProblem.Javadoc) == 0 && problemID != IProblem.Task))) {
+	if (!this.options.enableSemanticValidation && (problemID & IProblem.Syntax) == 0 && (problemID & IProblem.Javadoc) == 0 && problemID != IProblem.Task) {
 		return ProblemSeverities.Ignore;
 	}