<Sound Dev> <AWT Dev> [9] Review Request: 8050852 Javadoc cleanup of javax.sound.midi package
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Wed Jul 23 19:45:51 UTC 2014
On 23.07.2014 23:27, Phil Race wrote:
> I had started on this but there was a lot to wade through
>
> Here
> http://cr.openjdk.java.net/~serb/8050852/webrev.02/src/share/classes/javax/sound/midi/MidiDevice.java.sdiff.html
>
> you changed 'public static class Info' -> 'class Info'
>
> This made me think. I presume the point is that a class nested within
> an interface
> is implicitly static even if not declared so, so you removed it.
Right.
> However I have no idea if JCK signature tests will need to be updated.
> I suggest you inquire.
At least class file is not changed.
>
> You may want to correct the (pre-existing) spelling mistake
> here before you push :-
> http://cr.openjdk.java.net/~serb/8050852/webrev.02/src/share/classes/javax/sound/midi/MidiDevice.java.sdiff.html
> 48 * {@code MidiSystem.getTransmitter} is implementation-dependant unless the
>
> dependant->dependent
>
> Changes (like) this one surprised me too :-
>
> http://cr.openjdk.java.net/~serb/8050852/webrev.02/src/share/classes/javax/sound/sampled/spi/AudioFileWriter.java.sdiff.html
>
> So we add an import statement just to keep some javadoc tool happy ?
No, it just to make a reader of this javadoc happy.
> Was this from doclint ? Did you question whether that was really something
> doclint should enforce rather than just allowing the fully qualified
> name ?
>
> It wouldn't surprise me if some other tool were to consider this an
> un-used import
> and delete it.
We had a bunch of unused imports in the past in these files, and now all
of them are removed/used. I guess, if some tool recognize this as
unused import, it will be a bad tool.
>
> -phil
>
> On 7/23/14 2:44 AM, Sergey Bylokhov wrote:
>> Hello,
>> Any volunteers to be a second reviewer?
>>
>> On 17.07.2014 12:18, Petr Pchelko wrote:
>>> Hello, Sergey.
>>>
>>> The fix looks good to me.
>>>
>>> With best regards. Petr.
>>>
>>> On 16 июля 2014 г., at 20:56, Sergey Bylokhov
>>> <Sergey.Bylokhov at oracle.com> wrote:
>>>
>>>> Hello.
>>>> Please review another one javadoc cleanup in jdk 9 in sound area:
>>>> - @param, @return should not end with a dot, except a case when
>>>> more than one sentences are used.
>>>> - @param, @throws, @return now align, to be more readable.
>>>> - @see tags simplified in some places.
>>>> - Description of the class/method/field should be followed by dot.
>>>> - Broken links/typos fixed
>>>> - 80 column limit.
>>>> - sets of spaces in the middle of text were deleted.
>>>> - <tag> replaced by {@tag }.
>>>> - unnecessary imports were removed.
>>>>
>>>> Bug: https://bugs.openjdk.java.net/browse/JDK-8050852
>>>> See the full specdiff:
>>>> http://cr.openjdk.java.net/~serb/8050852/javadoc/overview-summary.html
>>>> Webrev can be found at:
>>>> http://cr.openjdk.java.net/~serb/8050852/webrev.02
>>>>
>>>> --
>>>> Best regards, Sergey.
>>>>
>>
>>
>
--
Best regards, Sergey.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/sound-dev/attachments/20140723/0b19f221/attachment.html>
More information about the sound-dev
mailing list