[jbosstools-commits] JBoss Tools SVN: r44109 - trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Thu Sep 27 20:42:04 EDT 2012
Author: dazarov
Date: 2012-09-27 20:42:04 -0400 (Thu, 27 Sep 2012)
New Revision: 44109
Modified:
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/PreferenceInfoManager.java
Log:
Configure Problem Severity should open project settings if they are enabled for the project https://issues.jboss.org/browse/JBIDE-12538
Modified: trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/PreferenceInfoManager.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/PreferenceInfoManager.java 2012-09-28 00:35:24 UTC (rev 44108)
+++ trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/PreferenceInfoManager.java 2012-09-28 00:42:04 UTC (rev 44109)
@@ -35,6 +35,9 @@
* returns IPreferenceInfo for problemType
*/
public static IPreferenceInfo getPreferenceInfo(String problemType){
+ if(problemType == null){
+ problemType = ValidationErrorManager.DEFAULT_VALIDATION_MARKER;
+ }
IPreferenceInfo info = infos.get(problemType);
if(info == null){
ValidationContext.loadValidatorByProblemType(problemType);
More information about the jbosstools-commits
mailing list