You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2016/03/28 12:38:59 UTC

[2/2] ant git commit: whitespace

whitespace


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/1591c1f8
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/1591c1f8
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/1591c1f8

Branch: refs/heads/master
Commit: 1591c1f83c0bba21fab31dd63b5637c738b53afd
Parents: 4af291c
Author: Stefan Bodewig <bo...@apache.org>
Authored: Mon Mar 28 12:38:19 2016 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Mon Mar 28 12:38:19 2016 +0200

----------------------------------------------------------------------
 src/main/org/apache/tools/ant/taskdefs/Replace.java | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/1591c1f8/src/main/org/apache/tools/ant/taskdefs/Replace.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/taskdefs/Replace.java b/src/main/org/apache/tools/ant/taskdefs/Replace.java
index 353d30c..1b6cb37 100644
--- a/src/main/org/apache/tools/ant/taskdefs/Replace.java
+++ b/src/main/org/apache/tools/ant/taskdefs/Replace.java
@@ -669,17 +669,17 @@ public class Replace extends MatchingTask {
             try {
                 try (FileInput in = new FileInput(src);
                      FileOutput out = new FileOutput(temp)) {
-                        out.setInputBuffer(buildFilterChain(in.getOutputBuffer()));
+                    out.setInputBuffer(buildFilterChain(in.getOutputBuffer()));
 
-                        while (in.readChunk()) {
-                            if (processFilterChain()) {
-                                out.process();
-                            }
+                    while (in.readChunk()) {
+                        if (processFilterChain()) {
+                            out.process();
                         }
+                    }
 
-                        flushFilterChain();
+                    flushFilterChain();
 
-                        out.flush();
+                    out.flush();
                 }
                 boolean changes = (replaceCount != repCountStart);
                 if (changes) {