8156583: Typo in the spec of javax.sound.sampled.AudioFormat.Encoding.toString()
authorserb
Fri, 13 May 2016 18:08:54 +0300
changeset 38972 5b37aa89e909
parent 38971 0b6191af6176
child 38973 8640b024f0e3
8156583: Typo in the spec of javax.sound.sampled.AudioFormat.Encoding.toString() Reviewed-by: prr
jdk/src/java.desktop/share/classes/javax/sound/sampled/AudioFormat.java
--- a/jdk/src/java.desktop/share/classes/javax/sound/sampled/AudioFormat.java	Fri May 13 14:30:59 2016 +0300
+++ b/jdk/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
          */