Javadoc fixes, properly skip void methods.

This commit is contained in:
Michael Bayne
2010-10-21 19:42:38 +00:00
parent 3f42f0bb49
commit a7984b1594
2 changed files with 43 additions and 36 deletions
@@ -38,6 +38,13 @@ public class MustacheTest
});
}
@Test public void testSkipVoidReturn () {
test("bar", "{{foo}}", new Object() {
void foo () {}
String getFoo () { return "bar"; }
});
}
@Test public void testCallSiteReuse () {
Template tmpl = Mustache.compile("{{foo}}");
Object ctx = new Object() {