You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jd...@apache.org on 2009/04/07 15:01:21 UTC

svn commit: r762756 - /wicket/trunk/wicket/src/main/java/org/apache/wicket/settings/IResourceSettings.java

Author: jdonnerstag
Date: Tue Apr  7 13:01:21 2009
New Revision: 762756

URL: http://svn.apache.org/viewvc?rev=762756&view=rev
Log:
fixed WICKET-2199 org.apache.wicket.settings.Settings#addStringResourceLoader(final IStringResourceLoader loader) does not conform to its JavaDoc
Issue: WICKET-2199

Modified:
    wicket/trunk/wicket/src/main/java/org/apache/wicket/settings/IResourceSettings.java

Modified: wicket/trunk/wicket/src/main/java/org/apache/wicket/settings/IResourceSettings.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/settings/IResourceSettings.java?rev=762756&r1=762755&r2=762756&view=diff
==============================================================================
--- wicket/trunk/wicket/src/main/java/org/apache/wicket/settings/IResourceSettings.java (original)
+++ wicket/trunk/wicket/src/main/java/org/apache/wicket/settings/IResourceSettings.java Tue Apr  7 13:01:21 2009
@@ -95,9 +95,10 @@
 	void addResourceFolder(final String resourceFolder);
 
 	/**
-	 * Add a string resource loader to the chain of loaders. If this is the first call to this
-	 * method since the creation of the application settings then the existing chain is cleared
-	 * before the new loader is added.
+	 * Add a string resource loader to the chain of loaders.
+	 * 
+	 * @see #addStringResourceLoader(int, IStringResourceLoader)
+	 * @see #getStringResourceLoaders()
 	 * 
 	 * @param loader
 	 *            The loader to be added
@@ -105,9 +106,10 @@
 	void addStringResourceLoader(final IStringResourceLoader loader);
 
 	/**
-	 * Add a string resource loader to the chain of loaders. If this is the first call to this
-	 * method since the creation of the application settings then the existing chain is cleared
-	 * before the new loader is added.
+	 * Add a string resource loader to the chain of loaders.
+	 * 
+	 * @see #addStringResourceLoader(IStringResourceLoader)
+	 * @see #getStringResourceLoaders()
 	 * 
 	 * @param index
 	 *            The position within the array to insert the loader
@@ -185,6 +187,9 @@
 	ModificationWatcher getResourceWatcher(boolean start);
 
 	/**
+	 * @see #addStringResourceLoader(IStringResourceLoader)
+	 * @see #addStringResourceLoader(int, IStringResourceLoader)
+	 * 
 	 * @return an unmodifiable list of all available string resource loaders
 	 */
 	List<IStringResourceLoader> getStringResourceLoaders();