From 283538f50cfa67a9b1aaad561836f05756468398 Mon Sep 17 00:00:00 2001 From: amenkov Date: Fri, 18 Feb 2011 13:27:29 +0300 Subject: [PATCH] 7000132: Misplaced description in javax.sound.sampled.AudioSystem.getTargetDataLine Reviewed-by: dav --- .../classes/javax/sound/sampled/AudioSystem.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/share/classes/javax/sound/sampled/AudioSystem.java b/src/share/classes/javax/sound/sampled/AudioSystem.java index 3724cc2cd..fe3347540 100644 --- a/src/share/classes/javax/sound/sampled/AudioSystem.java +++ b/src/share/classes/javax/sound/sampled/AudioSystem.java @@ -670,6 +670,12 @@ public class AudioSystem { *

The returned TargetDataLine's default * audio format will be initialized with format. * + *

If the system property + * {@code javax.sound.sampled.TargetDataLine} + * is defined or it is defined in the file "sound.properties", + * it is used to retrieve the default target data line. + * For details, refer to the {@link AudioSystem class description}. + * * @param format an AudioFormat object specifying * the supported audio format of the returned line, * or null for any audio format @@ -712,12 +718,6 @@ public class AudioSystem { *

The returned TargetDataLine's default * audio format will be initialized with format. * - *

If the system property - * javax.sound.sampled.TargetDataLine - * is defined or it is defined in the file "sound.properties", - * it is used to retrieve the default target data line. - * For details, refer to the {@link AudioSystem class description}. - * * @param format an AudioFormat object specifying * the supported audio format of the returned line, * or null for any audio format -- GitLab