This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: PR 2429
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Subject: Patch: PR 2429
- From: Tom Tromey <tromey at redhat dot com>
- Date: 02 Apr 2001 14:03:37 -0600
- Reply-To: tromey at redhat dot com
I'm checking this in. This fixes the "easy" part of PR 2429.
2001-04-02 Torsten Rueger <torsten.rueger@firsthop.com>
* java/text/MessageFormat.java (setLocale): Added missing `else'.
For PR libgcj/2429.
Tom
Index: java/text/MessageFormat.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/text/MessageFormat.java,v
retrieving revision 1.5
diff -u -r1.5 MessageFormat.java
--- MessageFormat.java 2001/02/07 22:46:28 1.5
+++ MessageFormat.java 2001/04/02 19:53:15
@@ -88,7 +88,7 @@
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;