diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-02 19:55:56 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-02 19:55:56 +0000 |
commit | 3563af17d14a44f4b88815c03e095abb2fe9a6ca (patch) | |
tree | 30088aaf82f684dbb480e828216c729769f3b04b /libjava/java/text/MessageFormat.java | |
parent | d485e5c703418a82d0cd51307d158a0f9e64d995 (diff) | |
download | gcc-3563af17d14a44f4b88815c03e095abb2fe9a6ca.tar.gz |
2001-04-02 Torsten Rueger <torsten.rueger@firsthop.com>
* java/text/MessageFormat.java (setLocale): Added missing `else'.
For PR libgcj/2429.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41012 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/text/MessageFormat.java')
-rw-r--r-- | libjava/java/text/MessageFormat.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/text/MessageFormat.java b/libjava/java/text/MessageFormat.java index 2cd6386a00c..bb2a4c3592a 100644 --- a/libjava/java/text/MessageFormat.java +++ b/libjava/java/text/MessageFormat.java @@ -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; |