Author: yradtsevich
Date: 2012-01-25 09:22:42 -0500 (Wed, 25 Jan 2012)
New Revision: 38168
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeValue.java
Log:
https://issues.jboss.org/browse/JBIDE-8651 :
Revert workaround for wrong implementation of WTP's ElementImpl.getAttribute(String)
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeValue.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeValue.java 2012-01-25
11:23:33 UTC (rev 38167)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeValue.java 2012-01-25
14:22:42 UTC (rev 38168)
@@ -29,13 +29,6 @@
}
public VpeValue(String value) {
- /* yradtsevich: workaround for JBIDE-8649: WTP ElementImpl
- * may return null for getAttribute method.
- */
- if (value == null) {
- value = ""; //$NON-NLS-1$
- }
-
stringValue = value;
type = STRING_VALUE;
}