Author: scabanovich
Date: 2009-03-31 10:44:41 -0400 (Tue, 31 Mar 2009)
New Revision: 14388
Modified:
trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/model/VRuleSetsLoader.java
Log:
JBIDE-3926
Modified:
trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/model/VRuleSetsLoader.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/model/VRuleSetsLoader.java 2009-03-31
12:03:49 UTC (rev 14387)
+++
trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/model/VRuleSetsLoader.java 2009-03-31
14:44:41 UTC (rev 14388)
@@ -67,6 +67,8 @@
if (c == null) {
c = nc[j].copy();
object.addChild(c);
+ //done to provide 'default-enabled'
+ mergeRules(c, c);
} else {
mergeRules(c, nc[j]);
}
@@ -89,6 +91,8 @@
}
}
}
+
+ static int i = 0;
protected void mergeRules(XModelObject object, XModelObject update) throws
XModelException {
org.jboss.tools.common.meta.XAttribute[] as =
object.getModelEntity().getAttributes();
Show replies by date