You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2016/06/07 01:12:23 UTC
svn commit: r1747109 - in
/commons/proper/discovery/trunk/src/main/java/org/apache/commons/discovery/tools:
DiscoverClass.java DiscoverSingleton.java
Author: ggregory
Date: Tue Jun 7 01:12:23 2016
New Revision: 1747109
URL: http://svn.apache.org/viewvc?rev=1747109&view=rev
Log:
Add Eclipse files to svn:ignore.
Modified:
commons/proper/discovery/trunk/src/main/java/org/apache/commons/discovery/tools/DiscoverClass.java
commons/proper/discovery/trunk/src/main/java/org/apache/commons/discovery/tools/DiscoverSingleton.java
Modified: commons/proper/discovery/trunk/src/main/java/org/apache/commons/discovery/tools/DiscoverClass.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/main/java/org/apache/commons/discovery/tools/DiscoverClass.java?rev=1747109&r1=1747108&r2=1747109&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/main/java/org/apache/commons/discovery/tools/DiscoverClass.java (original)
+++ commons/proper/discovery/trunk/src/main/java/org/apache/commons/discovery/tools/DiscoverClass.java Tue Jun 7 01:12:23 2016
@@ -180,7 +180,7 @@ public class DiscoverClass {
* @param <S> Any class extending T
* @param spiClass Service Provider Interface Class.
* @return Class implementing the SPI.
- * @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, or if
* the resulting class does not implement (or extend) the SPI.
*/
@@ -199,7 +199,7 @@ public class DiscoverClass {
* @param spiClass Service Provider Interface Class.
* @param properties Used to determine name of SPI implementation.
* @return Class implementing the SPI.
- * @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, or if
* the resulting class does not implement (or extend) the SPI.
*/
@@ -218,7 +218,7 @@ public class DiscoverClass {
* @param spiClass Service Provider Interface Class.
* @param defaultImpl Default implementation name.
* @return Class implementing the SPI.
- * @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, or if
* the resulting class does not implement (or extend) the SPI.
*/
@@ -238,7 +238,7 @@ public class DiscoverClass {
* @param properties Used to determine name of SPI implementation,.
* @param defaultImpl Default implementation class.
* @return Class implementing the SPI.
- * @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, or if
* the resulting class does not implement (or extend) the SPI.
*/
@@ -259,7 +259,7 @@ public class DiscoverClass {
* @param propertiesFileName Used to determine name of SPI implementation,.
* @param defaultImpl Default implementation class.
* @return Class implementing the SPI.
- * @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, or if
* the resulting class does not implement (or extend) the SPI.
*/
@@ -281,7 +281,7 @@ public class DiscoverClass {
* @param properties Used to determine name of SPI implementation,.
* @param defaultImpl Default implementation class.
* @return Class implementing the SPI.
- * @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, or if
* the resulting class does not implement (or extend) the SPI.
*/
@@ -351,7 +351,7 @@ public class DiscoverClass {
* @param <T> The SPI type
* @param spiClass Service Provider Interface Class.
* @return Instance of a class implementing the SPI.
- * @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.
@@ -381,7 +381,7 @@ public class DiscoverClass {
* and passed to implementation.init() method if
* implementation implements Service interface.
* @return Instance of a class implementing the SPI.
- * @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.
@@ -408,7 +408,7 @@ public class DiscoverClass {
* @param spiClass Service Provider Interface Class.
* @param defaultImpl Default implementation.
* @return Instance of a class implementing the SPI.
- * @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.
@@ -438,7 +438,7 @@ public class DiscoverClass {
* implementation implements Service interface.
* @param defaultImpl Default implementation.
* @return Instance of a class implementing the SPI.
- * @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.
@@ -468,7 +468,7 @@ public class DiscoverClass {
* implementation implements Service interface.
* @param defaultImpl Default implementation.
* @return Instance of a class implementing the SPI.
- * @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.
@@ -500,7 +500,7 @@ public class DiscoverClass {
* implementation implements Service interface.
* @param defaultImpl Default implementation.
* @return Instance of a class implementing the SPI.
- * @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.
@@ -534,7 +534,7 @@ public class DiscoverClass {
* @param properties Properties that may define the implementation
* class name(s).
* @return String[] Name of classes implementing the SPI.
- * @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.
*/
public static <T> String[] discoverClassNames(SPInterface<T> spi,
Modified: commons/proper/discovery/trunk/src/main/java/org/apache/commons/discovery/tools/DiscoverSingleton.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/main/java/org/apache/commons/discovery/tools/DiscoverSingleton.java?rev=1747109&r1=1747108&r2=1747109&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/main/java/org/apache/commons/discovery/tools/DiscoverSingleton.java (original)
+++ commons/proper/discovery/trunk/src/main/java/org/apache/commons/discovery/tools/DiscoverSingleton.java Tue Jun 7 01:12:23 2016
@@ -213,7 +213,7 @@ public class DiscoverSingleton {
*
* @return Instance of a class implementing the SPI.
*
- * @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.
@@ -238,7 +238,7 @@ public class DiscoverSingleton {
*
* @return Instance of a class implementing the SPI.
*
- * @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.
@@ -261,7 +261,7 @@ public class DiscoverSingleton {
*
* @return Instance of a class implementing the SPI.
*
- * @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.
@@ -288,7 +288,7 @@ public class DiscoverSingleton {
*
* @return Instance of a class implementing the SPI.
*
- * @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.
@@ -317,7 +317,7 @@ public class DiscoverSingleton {
*
* @return Instance of a class implementing the SPI.
*
- * @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.
@@ -351,7 +351,7 @@ public class DiscoverSingleton {
*
* @return Instance of a class implementing the SPI.
*
- * @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.