You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2012/10/03 17:38:21 UTC
svn commit: r1393556 -
/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilProperties.java
Author: jleroux
Date: Wed Oct 3 15:38:21 2012
New Revision: 1393556
URL: http://svn.apache.org/viewvc?rev=1393556&view=rev
Log:
No functional change, just swap parameters positions in JavaDoc, while reading fast I got confused
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilProperties.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilProperties.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilProperties.java?rev=1393556&r1=1393555&r2=1393556&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilProperties.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilProperties.java Wed Oct 3 15:38:21 2012
@@ -584,8 +584,8 @@ public class UtilProperties implements S
* to the given locale and replacing argument place holders with the given arguments using the MessageFormat class
* @param resource The name of the resource - can be a file, class, or URL
* @param name The name of the property in the properties file
- * @param locale The locale that the given resource will correspond to
* @param arguments An array of Objects to insert into the message argument place holders
+ * @param locale The locale that the given resource will correspond to
* @return The value of the property in the properties file
*/
public static String getMessage(String resource, String name, Object[] arguments, Locale locale) {
@@ -605,8 +605,8 @@ public class UtilProperties implements S
* to the given locale and replacing argument place holders with the given arguments using the MessageFormat class
* @param resource The name of the resource - can be a file, class, or URL
* @param name The name of the property in the properties file
- * @param locale The locale that the given resource will correspond to
* @param arguments A List of Objects to insert into the message argument place holders
+ * @param locale The locale that the given resource will correspond to
* @return The value of the property in the properties file
*/
public static <E> String getMessage(String resource, String name, List<E> arguments, Locale locale) {
@@ -630,8 +630,8 @@ public class UtilProperties implements S
* to the given locale and replacing argument place holders with the given arguments using the FlexibleStringExpander class
* @param resource The name of the resource - can be a file, class, or URL
* @param name The name of the property in the properties file
- * @param locale The locale that the given resource will correspond to
* @param context A Map of Objects to insert into the message place holders using the ${} syntax of the FlexibleStringExpander
+ * @param locale The locale that the given resource will correspond to
* @return The value of the property in the properties file
*/
public static String getMessage(String resource, String name, Map<String, ? extends Object> context, Locale locale) {