billbarker 2004/05/09 12:58:43 Modified: util/java/org/apache/tomcat/util/compat Jdk14Compat.java JdkCompat.java Log: Reverting previous patch. Since MessageFormat.setLocale works just as well, there isn't a need to expose the 1.4 constructor. Revision Changes Path 1.11 +0 -3 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/compat/Jdk14Compat.java Index: Jdk14Compat.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/compat/Jdk14Compat.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- Jdk14Compat.java 8 May 2004 22:05:11 -0000 1.10 +++ Jdk14Compat.java 9 May 2004 19:58:43 -0000 1.11 @@ -118,7 +118,4 @@ wrapper.initCause(wrapped); } - public MessageFormat getMessageFormat(String pattern, Locale locale) { - return new MessageFormat(pattern, locale); - } } 1.15 +0 -10 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/compat/JdkCompat.java Index: JdkCompat.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/compat/JdkCompat.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- JdkCompat.java 8 May 2004 22:05:11 -0000 1.14 +++ JdkCompat.java 9 May 2004 19:58:43 -0000 1.15 @@ -225,14 +225,4 @@ // do nothing } - /** - * Obtain a MessageFormat for the correct pattern and Locale. - * - * @param pattern The pattern to format with. - * @param locale The Locale to use. - */ - public MessageFormat getMessageFormat(String pattern, Locale locale) { - return new MessageFormat(pattern); - } - }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]