Replace indexed for loops with enhanced for loops

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/email/trunk@1510687 13f79535-47bb-0310-9956-ffa450edef68
Remove unnecessary whitespace

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/email/trunk@1510689 13f79535-47bb-0310-9956-ffa450edef68