Author: dmaliarevich
Date: 2011-08-12 11:43:31 -0400 (Fri, 12 Aug 2011)
New Revision: 33854
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplateSet.java
Log:
https://issues.jboss.org/browse/JBIDE-9444 , fix spelling error.
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplateSet.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplateSet.java 2011-08-12
15:42:45 UTC (rev 33853)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplateSet.java 2011-08-12
15:43:31 UTC (rev 33854)
@@ -40,7 +40,7 @@
VpeTemplate getTemplate(VpePageContext pageContext, Node sourceNode, Set
ifDependencySet) {
VpeTemplate result = defTemplate;
- boolean initializeCustomTemplete = true;
+ boolean initializeCustomTemplate = true;
for (int i = 0; i < templates.size(); i++) {
VpeTemplateSet set = (VpeTemplateSet)templates.get(i);
VpeTemplate template = set.getTemplate(pageContext, sourceNode, ifDependencySet);
@@ -51,14 +51,14 @@
* in the result -- set it up
*/
result = template;
- initializeCustomTemplete = false;
- } else if (initializeCustomTemplete) {
+ initializeCustomTemplate = false;
+ } else if (initializeCustomTemplate) {
/*
* Default template presents, but custom template was found.
* Put this new template to the result variable
*/
result = template;
- initializeCustomTemplete = false;
+ initializeCustomTemplate = false;
} else if (result.getPriority() < template.getPriority()) {
/*
* In the cycle -- looking for the template