re PR libgcj/2429 (java.text.MessageFormat should usefully set text on exceptions)
2001-04-02 Torsten Rueger <torsten.rueger@firsthop.com> * java/text/MessageFormat.java (setLocale): Added missing `else'. For PR libgcj/2429. From-SVN: r41012
This commit is contained in:
parent
5152512c2e
commit
5f82d4f21c
2 changed files with 6 additions and 1 deletions
|
@ -88,7 +88,7 @@ final class MessageFormatElement
|
|||
int val = DateFormat.DEFAULT;
|
||||
if (style == null)
|
||||
;
|
||||
if (style.equals("short"))
|
||||
else if (style.equals("short"))
|
||||
val = DateFormat.SHORT;
|
||||
else if (style.equals("medium"))
|
||||
val = DateFormat.MEDIUM;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue