remove typo and duplicate code

This closes #102 pull request at github/apache/ant
1 file changed