diff --git a/src/main/org/apache/tools/ant/util/LayoutPreservingProperties.java b/src/main/org/apache/tools/ant/util/LayoutPreservingProperties.java index 5c07e7c28..89a9c0859 100644 --- a/src/main/org/apache/tools/ant/util/LayoutPreservingProperties.java +++ b/src/main/org/apache/tools/ant/util/LayoutPreservingProperties.java @@ -38,7 +38,7 @@ import java.util.Properties; * present in the input stream from which it was loaded.
*The class defers the usual work of the java.util.Properties * class to there, but it also keeps track of the contents of the - * input stream from which it was loaded (if applicable), so that in can + * input stream from which it was loaded (if applicable), so that it can * write out the properties in as close a form as possible to the input.
* If no changes occur to property values, the output should be the same * as the input, except for the leading date stamp, as normal for a @@ -259,7 +259,7 @@ public class LayoutPreservingProperties extends Properties { osw.write("#" + (new Date()).toString() + LS); boolean writtenSep = false; - for (Iterator i = logicalLines.iterator();i.hasNext();) { + for (Iterator i = logicalLines.iterator(); i.hasNext();) { LogicalLine line = (LogicalLine) i.next(); if (line instanceof Pair) { if (((Pair)line).isNew()) {