On Tue, 2006-05-02 at 14:32 +0200, Audrius Meskauskas wrote: > Now there are two identical cases in the switch statement: > case NUMTOKEN: > (code, ends with break) > case SLASH: > (same code again) > > Probably it may be better just to put two labels: >
No, the code is slightly different. I will retest this and possibly change it back. > case NUMTOKEN: > case SLASH: > > (code) > > rather than duplicating the whole section. It seems still parsing correctly. > > 2006-05-02 Audrius Meskauskas <[EMAIL PROTECTED]> > > * gnu/javax/swing/text/html/parser/support/Parser.java > (readAttributes): Merge case NUMTOKEN: and case SLASH > sections. > > >