Reviewers: metaweta,
Description:
Various unrelated fixes.
- Added toString to CharProducer to fix confusion that toString() does
something very different from toString(int, int)
- Fixed comments.
- Changed CssTree to pad spaces around the body of subst productions.
- Changed ParseTreeNodes to reuse the parameterTypes variable instead
of constructing two arrays of classes.
- Changed CssValidator to recognize suffixless substs as lengths.
This does not affect the rewriting of "width: 3" to "width: 3px".
- Changed build.xml to delete the ant-maven directory on "ant clean"
instead of recreating it.
Please review this at http://codereview.appspot.com/121057
Affected files:
M build.xml
M src/com/google/caja/lexer/CharProducer.java
M src/com/google/caja/lexer/CssLexer.java
M src/com/google/caja/parser/ParseTreeNodes.java
M src/com/google/caja/parser/css/CssTree.java
M src/com/google/caja/plugin/CssValidator.java