Commit 63c5d91a by Tom Tromey Committed by Tom Tromey

* javax/naming/InitialContext.java: Reindented.

From-SVN: r71535
parent 1eeae5c1
2003-09-18 Tom Tromey <tromey@redhat.com>
* javax/naming/InitialContext.java: Reindented.
2003-09-18 Dalibor Topic <robilad@kaffe.org>, 2003-09-18 Dalibor Topic <robilad@kaffe.org>,
Helmer Kraemer <hkraemer@freenet.de> Helmer Kraemer <hkraemer@freenet.de>
......
/* InitialContext.java -- /* InitialContext.java --
Copyright (C) 2000, 2002 Free Software Foundation, Inc. Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -119,16 +119,22 @@ public class InitialContext implements Context ...@@ -119,16 +119,22 @@ public class InitialContext implements Context
URL url = (URL) ep.nextElement (); URL url = (URL) ep.nextElement ();
Properties p = new Properties (); Properties p = new Properties ();
try { try
{
InputStream is = url.openStream (); InputStream is = url.openStream ();
p.load (is); p.load (is);
is.close (); is.close ();
} catch (IOException e) {} }
catch (IOException e)
{
}
merge (myProps, p); merge (myProps, p);
} }
} }
catch (IOException e) {} catch (IOException e)
{
}
String home = System.getProperty("gnu.classpath.home.url"); String home = System.getProperty("gnu.classpath.home.url");
if (home != null) if (home != null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment