Browse Source

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
master
Peter Donald 24 years ago
parent
commit
d3609fe2ba
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/Environment.java

+ 1
- 1
proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/Environment.java View File

@@ -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;


Loading…
Cancel
Save