Author: simonetripodi
Date: Tue Apr 5 20:51:49 2011
New Revision: 1089218
URL: http://svn.apache.org/viewvc?rev=1089218&view=rev
Log:
fixed checkstyle violations
Modified:
commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/ResourceUtils.java
Modified:
commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/ResourceUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/ResourceUtils.java?rev=1089218&r1=1089217&r2=1089218&view=diff
==============================================================================
---
commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/ResourceUtils.java
(original)
+++
commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/ResourceUtils.java
Tue Apr 5 20:51:49 2011
@@ -72,6 +72,7 @@ public class ResourceUtils {
* @param resourceName The name of the resource to load.
* @param loaders the class loaders holder
* @return The discovered {@link Resource} instance
+ * @throws DiscoveryException
*/
public static Resource getResource(Class<?> spi,
String resourceName,
@@ -111,10 +112,9 @@ public class ResourceUtils {
*
* @param spi The SPI type
* @param propertiesFileName The property file name.
- * @param loaders the class loaders holder
+ * @param classLoaders The class loaders holder
* @return The loaded named property file, in {@code Properties} format
- *
- * @exception DiscoveryException Thrown if the name of a class implementing
+ * @throws DiscoveryException Thrown if the name of a class implementing
* the SPI cannot be found, if the class cannot be loaded and
* instantiated, or if the resulting class does not implement
* (or extend) the SPI.