On Thu, 1 May 2025 22:31:32 GMT, Phil Race <[email protected]> wrote:
> A simple API to replace java.applet.AudioClip
src/java.desktop/share/classes/com/sun/media/sound/JavaSoundAudioClip.java line
294:
> 292: public synchronized void update(LineEvent event) {
> 293: if (clip != null) {
> 294: if (clip == event.getSource()) {
merge the two ifs to one if?
test/jdk/javax/sound/SoundClip/SoundClipTest.java line 40:
> 38:
> 39: public static void main(String[] args) throws Exception {
> 40:
Suggestion:
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24991#discussion_r2071921500
PR Review Comment: https://git.openjdk.org/jdk/pull/24991#discussion_r2071922997