From 0460023ee24e681de8ca5df2353065bcfc2bec84 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Fri, 22 Oct 2004 17:14:29 +0000 Subject: 2004-10-22 Michael Koch * 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 --- libjava/java/text/MessageFormat.java | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'libjava/java/text/MessageFormat.java') 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); -- cgit v1.1