changeset 14767:378b8442bf7d

8156583: Typo in the spec of javax.sound.sampled.AudioFormat.Encoding.toString() Reviewed-by: prr
author serb
date Fri, 13 May 2016 18:08:54 +0300
parents 57ce9ac31faf
children 354d5fcf6d2b
files src/java.desktop/share/classes/javax/sound/sampled/AudioFormat.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/share/classes/javax/sound/sampled/AudioFormat.java	Fri May 13 14:30:59 2016 +0300
+++ b/src/java.desktop/share/classes/javax/sound/sampled/AudioFormat.java	Fri May 13 18:08:54 2016 +0300
@@ -633,7 +633,7 @@
          * {@code String} is the same name that was passed to the constructor.
          * For the predefined encodings, the name is similar to the encoding's
          * variable (field) name. For example, {@code PCM_SIGNED.toString()}
-         * returns the name "pcm_signed".
+         * returns the name "PCM_SIGNED".
          *
          * @return the encoding name
          */