* javax/naming/InitialContext.java: Reindented.
From-SVN: r71535
This commit is contained in:
parent
1eeae5c1cd
commit
63c5d91aae
@ -1,3 +1,7 @@
|
|||||||
|
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>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* 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
|
|||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user