diff --git a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/util/NLS.java b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/util/NLS.java index 0681a85d92..dc1f39ed3e 100644 --- a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/util/NLS.java +++ b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/util/NLS.java @@ -125,33 +125,38 @@ public static String bind(String message, Object[] bindings) { } /** - * Initialize the given class with the values from the message properties specified by the - * base name. The base name specifies a fully qualified base name to a message properties file, - * including the package where the message properties file is located. The class loader of the - * specified class will be used to load the message properties resources. + * Initialize the given class with the values from the message properties + * specified by the base name. The base name specifies a fully qualified base + * name to a message properties file, including the package where the message + * properties file is located. The class loader of the specified class will be + * used to load the message properties resources. *

- * For example, if the locale is set to en_US and org.eclipse.example.nls.messages - * is used as the base name then the following resources will be searched using the class - * loader of the specified class: + * For example, if the locale is set to en_US and + * org.eclipse.example.nls.messages is used as the base name then + * the following resources will be searched using the class loader of the + * specified class: *

+ * *
 	 *   org/eclipse/example/nls/messages_en_US.properties
 	 *   org/eclipse/example/nls/messages_en.properties
 	 *   org/eclipse/example/nls/messages.properties
 	 * 
*

- * The properties files are read using the default encoding for resource bundles: + * The properties files are read using the default encoding for resource + * bundles: + *

* - *

* * @param baseName the base name of a fully qualified message properties file. - * @param clazz the class where the constants will exist + * @param clazz the class where the constants will exist */ public static void initializeMessages(final String baseName, final Class clazz) { if (System.getSecurityManager() == null) {