harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r611568 - /harmony/enhanced/classlib/trunk/modules/applet/src/main/java/java/applet/Applet.java
Date Sun, 13 Jan 2008 13:03:29 GMT
Author: apetrenko
Date: Sun Jan 13 05:03:28 2008
New Revision: 611568

URL: http://svn.apache.org/viewvc?rev=611568&view=rev
Log:
Patch for HARMONY-5384 "[classlib][applet] Applet.play methods uses internal AudioClip implementation"

Modified:
    harmony/enhanced/classlib/trunk/modules/applet/src/main/java/java/applet/Applet.java

Modified: harmony/enhanced/classlib/trunk/modules/applet/src/main/java/java/applet/Applet.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/applet/src/main/java/java/applet/Applet.java?rev=611568&r1=611567&r2=611568&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/applet/src/main/java/java/applet/Applet.java (original)
+++ harmony/enhanced/classlib/trunk/modules/applet/src/main/java/java/applet/Applet.java Sun
Jan 13 05:03:28 2008
@@ -203,12 +203,12 @@
     }
 
     public void play(URL url, String name) {
-        AudioClip clip = newAudioClip(appendURL(url, name));
+        AudioClip clip = getAudioClip(url, name);
         clip.play();
     }
 
     public void play(URL url) {
-        AudioClip clip = newAudioClip(url);
+        AudioClip clip = getAudioClip(url);
         clip.play();
     }
 



Mime
View raw message