You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by dm...@apache.org on 2009/05/18 00:13:11 UTC
svn commit: r775769 - in /commons/sandbox/resources/trunk/src: conf/
main/java/org/apache/commons/resources/Messages.java main/resources/mysql.sql
Author: dmeikle
Date: Sun May 17 22:13:11 2009
New Revision: 775769
URL: http://svn.apache.org/viewvc?rev=775769&view=rev
Log:
Manifest.mf file no longer needed, moved mysql.sql to main/resources
Added:
commons/sandbox/resources/trunk/src/main/resources/mysql.sql (props changed)
- copied unchanged from r775756, commons/sandbox/resources/trunk/src/conf/mysql.sql
Removed:
commons/sandbox/resources/trunk/src/conf/
Modified:
commons/sandbox/resources/trunk/src/main/java/org/apache/commons/resources/Messages.java
Modified: commons/sandbox/resources/trunk/src/main/java/org/apache/commons/resources/Messages.java
URL: http://svn.apache.org/viewvc/commons/sandbox/resources/trunk/src/main/java/org/apache/commons/resources/Messages.java?rev=775769&r1=775768&r2=775769&view=diff
==============================================================================
--- commons/sandbox/resources/trunk/src/main/java/org/apache/commons/resources/Messages.java (original)
+++ commons/sandbox/resources/trunk/src/main/java/org/apache/commons/resources/Messages.java Sun May 17 22:13:11 2009
@@ -280,6 +280,7 @@
// TODO - Cache MessageFormat instances?
String message = getMessage(resources, locale, key);
MessageFormat format = new MessageFormat(message);
+ format.setLocale(locale);
return (format.format(args));
}
Propchange: commons/sandbox/resources/trunk/src/main/resources/mysql.sql
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/sandbox/resources/trunk/src/main/resources/mysql.sql
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: commons/sandbox/resources/trunk/src/main/resources/mysql.sql
------------------------------------------------------------------------------
svn:mergeinfo =