Commit 5f82d4f2 by Torsten Rueger Committed by Tom Tromey

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
parent 5152512c
2001-04-02 Torsten Rueger <torsten.rueger@firsthop.com>
* java/text/MessageFormat.java (setLocale): Added missing `else'.
For PR libgcj/2429.
2001-03-30 Tom Tromey <tromey@redhat.com> 2001-03-30 Tom Tromey <tromey@redhat.com>
* jni.cc (add_char): Correctly encode non-ascii characters. * jni.cc (add_char): Correctly encode non-ascii characters.
......
...@@ -88,7 +88,7 @@ final class MessageFormatElement ...@@ -88,7 +88,7 @@ final class MessageFormatElement
int val = DateFormat.DEFAULT; int val = DateFormat.DEFAULT;
if (style == null) if (style == null)
; ;
if (style.equals("short")) else if (style.equals("short"))
val = DateFormat.SHORT; val = DateFormat.SHORT;
else if (style.equals("medium")) else if (style.equals("medium"))
val = DateFormat.MEDIUM; val = DateFormat.MEDIUM;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment