aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/text/MessageFormat.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2004-10-22 17:14:29 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2004-10-22 17:14:29 +0000
commit0460023ee24e681de8ca5df2353065bcfc2bec84 (patch)
tree81b31b0486891970a421212090c68947039d0701 /libjava/java/text/MessageFormat.java
parent471854f82a8ac6adc65c32232877b1f1fb0e82d0 (diff)
downloadgcc-0460023ee24e681de8ca5df2353065bcfc2bec84.zip
gcc-0460023ee24e681de8ca5df2353065bcfc2bec84.tar.gz
gcc-0460023ee24e681de8ca5df2353065bcfc2bec84.tar.bz2
2004-10-22 Michael Koch <konqueror@gmx.de>
* java/lang/Math.java * java/lang/StackTraceElement.java * java/nio/Buffer.java * java/nio/ByteBuffer.java * java/nio/CharBuffer.java * java/nio/DoubleBuffer.java * java/nio/FloatBuffer.java * java/nio/IntBuffer.java * java/nio/LongBuffer.java * java/nio/ShortBuffer.java * java/nio/charset/Charset.java * java/rmi/server/RMIClassLoader.java * java/rmi/server/RMISocketFactory.java * java/security/Policy.java * java/text/ChoiceFormat.java * java/text/CollationElementIterator.java * java/text/DateFormat.java * java/text/DecimalFormat.java * java/text/DecimalFormatSymbols.java * java/text/MessageFormat.java * java/text/NumberFormat.java * java/text/RuleBasedCollator.java * java/text/SimpleDateFormat.java * java/util/BitSet.java * java/util/Calendar.java * java/util/Collections.java * java/util/IdentityHashMap.java * java/util/Locale.java * java/util/TreeMap.java * java/util/logging/LogRecord.java * java/util/logging/XMLFormatter.java * java/util/prefs/AbstractPreferences.java * java/util/prefs/Preferences.java * javax/crypto/interfaces/DHPrivateKey.java * javax/crypto/interfaces/DHPublicKey.java * javax/crypto/interfaces/PBEKey.java * javax/net/ssl/HandshakeCompletedEvent.java * javax/security/auth/Subject.java From-SVN: r89454
Diffstat (limited to 'libjava/java/text/MessageFormat.java')
-rw-r--r--libjava/java/text/MessageFormat.java13
1 files changed, 5 insertions, 8 deletions
diff --git a/libjava/java/text/MessageFormat.java b/libjava/java/text/MessageFormat.java
index 1c68179..0d68941 100644
--- a/libjava/java/text/MessageFormat.java
+++ b/libjava/java/text/MessageFormat.java
@@ -189,8 +189,7 @@ public class MessageFormat extends Format
// Helper that returns the text up to the next format opener. The
// text is put into BUFFER. Returns index of character after end of
// string. Throws IllegalArgumentException on error.
- private static final int scanString (String pat, int index,
- StringBuffer buffer)
+ private static int scanString(String pat, int index, StringBuffer buffer)
{
int max = pat.length();
buffer.setLength(0);
@@ -220,9 +219,8 @@ public class MessageFormat extends Format
// This helper retrieves a single part of a format element. Returns
// the index of the terminating character.
- private static final int scanFormatElement (String pat, int index,
- StringBuffer buffer,
- char term)
+ private static int scanFormatElement(String pat, int index,
+ StringBuffer buffer, char term)
{
int max = pat.length();
buffer.setLength(0);
@@ -266,9 +264,8 @@ public class MessageFormat extends Format
// This is used to parse a format element and whatever non-format
// text might trail it.
- private static final int scanFormat (String pat, int index,
- StringBuffer buffer, Vector elts,
- Locale locale)
+ private static int scanFormat(String pat, int index, StringBuffer buffer,
+ Vector elts, Locale locale)
{
MessageFormatElement mfe = new MessageFormatElement ();
elts.addElement(mfe);