[jbosstools-commits] JBoss Tools SVN: r44115 - trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/preferences.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Fri Sep 28 12:09:27 EDT 2012
Author: akazakov
Date: 2012-09-28 12:09:27 -0400 (Fri, 28 Sep 2012)
New Revision: 44115
Modified:
trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/preferences/SeverityPreferences.java
Log:
https://issues.jboss.org/browse/JBIDE-12595 Disabling JAX-RS validator doesn't affect resources validation
https://issues.jboss.org/browse/JBIDE-12741 CDI (and other JBT common validators) is disabled for workspace if you disable it for project
Modified: trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/preferences/SeverityPreferences.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/preferences/SeverityPreferences.java 2012-09-28 13:36:09 UTC (rev 44114)
+++ trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/preferences/SeverityPreferences.java 2012-09-28 16:09:27 UTC (rev 44115)
@@ -109,15 +109,15 @@
}
String value = p.get(ENABLE_BLOCK_PREFERENCE_NAME, null);
if(value!=null) {
- return p.getBoolean(ENABLE_BLOCK_PREFERENCE_NAME, false);
+ return ENABLE.equals(value);
}
p = getInstancePreferences();
value = p == null ? null : p.get(ENABLE_BLOCK_PREFERENCE_NAME, null);
if(value!=null) {
- return p.getBoolean(ENABLE_BLOCK_PREFERENCE_NAME, false);
+ return ENABLE.equals(value);
}
p = getDefaultPreferences();
- return p.getBoolean(ENABLE_BLOCK_PREFERENCE_NAME, false);
+ return ENABLE.equals(value);
}
public String getBuilderOrderPreference(IProject project) {
More information about the jbosstools-commits
mailing list