A note to self and minor comment tweak.

This commit is contained in:
Michael Bayne
2013-04-02 12:47:00 -07:00
parent 7e414b6c95
commit 4b1af351ae
@@ -238,6 +238,7 @@ public class Mustache
return text; return text;
} }
// TODO: this method was never called, what was my intention here?
protected static boolean allowsWhitespace (char typeChar) { protected static boolean allowsWhitespace (char typeChar) {
return (typeChar == '=') || // change delimiters return (typeChar == '=') || // change delimiters
(typeChar == '!'); // comment (typeChar == '!'); // comment
@@ -312,7 +313,8 @@ public class Mustache
case MATCHING_START: case MATCHING_START:
text.append(delims.start1); text.append(delims.start1);
break; break;
// case TEXT: // do nothing case TEXT: // do nothing
break;
} }
accum.addTextSegment(text); accum.addTextSegment(text);