From d3609fe2ba15c87dd37c8232d5ae989308184ed1 Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sun, 6 Jan 2002 01:37:51 +0000 Subject: [PATCH] Move var closer to where it is used git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270551 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/myrmidon/framework/exec/Environment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/Environment.java b/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/Environment.java index 0aa3434c2..f0b7cc178 100644 --- a/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/Environment.java +++ b/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/Environment.java @@ -97,9 +97,9 @@ public final class Environment private static synchronized Properties retrieveEnvironmentVariables() throws IOException, ExecException { - final Properties properties = new Properties(); final String data = getEnvironmentText(); + final Properties properties = new Properties(); final BufferedReader in = new BufferedReader( new StringReader( data ) ); String var = null; String line;