Commit 2a2dd459 by Michael Koch Committed by Michael Koch

URL.java: Formatting cleanups.

2005-04-19  Michael Koch  <konqueror@gmx.de>

	* java/net/URL.java: Formatting cleanups.

From-SVN: r98399
parent b53d0783
2005-04-19 Michael Koch <konqueror@gmx.de> 2005-04-19 Michael Koch <konqueror@gmx.de>
* java/net/URL.java: Formatting cleanups.
2005-04-19 Michael Koch <konqueror@gmx.de>
* java/awt/FontMetrics.java: Reformatted. * java/awt/FontMetrics.java: Reformatted.
(getFontRenderContext): Handle case when java.awt.Graphics context is (getFontRenderContext): Handle case when java.awt.Graphics context is
given. given.
......
...@@ -900,7 +900,8 @@ public final class URL implements Serializable ...@@ -900,7 +900,8 @@ public final class URL implements Serializable
{ {
systemClassLoader = (ClassLoader) AccessController.doPrivileged systemClassLoader = (ClassLoader) AccessController.doPrivileged
(new PrivilegedAction() { (new PrivilegedAction() {
public Object run() { public Object run()
{
return ClassLoader.getSystemClassLoader(); return ClassLoader.getSystemClassLoader();
} }
}); });
...@@ -922,7 +923,10 @@ public final class URL implements Serializable ...@@ -922,7 +923,10 @@ public final class URL implements Serializable
{ {
throw death; throw death;
} }
catch (Throwable t) { /* ignored */ } catch (Throwable t)
{
// Ignored.
}
} }
while (ph == null && pkgPrefix.hasMoreTokens()); while (ph == null && pkgPrefix.hasMoreTokens());
} }
......
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