+2004-09-23 Michael Koch <konqueror@gmx.de>
+
+ * java/applet/AppletContext.java,
+ java/applet/Applet.java,
+ java/applet/AppletStub.java,
+ java/applet/AudioClip.java:
+ Jalopied and checkstyle clean.
+
2004-09-23 Mark Wielaard <mark@klomp.org>
* java/util/Collections.java
/* Applet.java -- Java base applet class
- Copyright (C) 1999, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Locale;
+
import javax.accessibility.AccessibleContext;
import javax.accessibility.AccessibleRole;
import javax.accessibility.AccessibleState;
{
try
{
- return getImage(new URL(url, name));
+ return getImage(new URL(url, name));
}
catch (MalformedURLException e)
{
- return null;
+ return null;
}
}
{
try
{
- return getAudioClip(new URL(url, name));
+ return getAudioClip(new URL(url, name));
}
catch (MalformedURLException e)
{
- return null;
+ return null;
}
}
AudioClip ac = getAudioClip(url);
try
{
- ac.play();
+ ac.play();
}
catch (Exception ignored)
{
{
try
{
- getAudioClip(url, name).play();
+ getAudioClip(url, name).play();
}
catch (Exception ignored)
{
{
AccessibleStateSet s = super.getAccessibleStateSet();
if (isActive())
- s.add(AccessibleState.ACTIVE);
+ s.add(AccessibleState.ACTIVE);
return s;
}
} // class AccessibleApplet
/* AppletContext.java -- access the applet's runtime environment
- Copyright (C) 1999, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
package java.applet;
import java.awt.Image;
-import java.io.InputStream;
import java.io.IOException;
+import java.io.InputStream;
import java.net.URL;
import java.util.Enumeration;
import java.util.Iterator;
/* AppletStub.java -- low level interface to the browser
- Copyright (C) 1999, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */
+
package java.applet;
import java.net.URL;
/* AudioClip.java -- play an audio clip in an applet
- Copyright (C) 1999, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
package java.applet;
+
/**
* This interface provides a simple mechanism for playing audio clips.
* If multiple clips are played at once, the browser combines them into a