Author: scabanovich
Date: 2010-02-24 05:28:24 -0500 (Wed, 24 Feb 2010)
New Revision: 20459
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/XModelEntityImpl.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5913
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/XModelEntityImpl.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/XModelEntityImpl.java 2010-02-24
10:15:54 UTC (rev 20458)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/XModelEntityImpl.java 2010-02-24
10:28:24 UTC (rev 20459)
@@ -257,11 +257,11 @@
XAttributeImpl attr =
(XAttributeImpl)entity.getAttribute(atributeNames[k]);
if(attr != null) {
list.add(attr.copy());
- } else {
+ } else if(ModelPlugin.isDebugEnabled()) {
ModelPlugin.getPluginLog().logInfo("Cannot find reference to attribute
" + attrName + " of entity " + entityName); //$NON-NLS-1$ //$NON-NLS-2$
}
}
- } else {
+ } else if(ModelPlugin.isDebugEnabled()) {
ModelPlugin.getPluginLog().logInfo("Cannot find reference to entity "
+ entityName); //$NON-NLS-1$
}
}