Author: max.andersen(a)jboss.com
Date: 2007-07-17 10:07:05 -0400 (Tue, 17 Jul 2007)
New Revision: 2467
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/query/AbstractQueryWizard.java
Log:
bug in reading message from resource properties
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/query/AbstractQueryWizard.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/query/AbstractQueryWizard.java 2007-07-17
14:01:31 UTC (rev 2466)
+++
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/query/AbstractQueryWizard.java 2007-07-17
14:07:05 UTC (rev 2467)
@@ -51,7 +51,7 @@
if(subtitle == null) subtitle = "Subtitle is not found for key \"" +
key + "\"";
view.setTitle(subtitle);
String message = p.getProperty("message");
- if(message == null) WizardKeys.getString(key + ".Message");
+ if(message == null) message = WizardKeys.getString(key + ".Message");
if(message != null) view.setMessage(message);
}
}