This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-logging.git

commit 533edd27594f4c1f3b067bf8c0998dce7b36d344
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Nov 19 11:54:21 2023 -0500

    Remove unused exceptions
---
 src/main/java/org/apache/commons/logging/LogSource.java | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/logging/LogSource.java 
b/src/main/java/org/apache/commons/logging/LogSource.java
index ca3444a..85bfed2 100644
--- a/src/main/java/org/apache/commons/logging/LogSource.java
+++ b/src/main/java/org/apache/commons/logging/LogSource.java
@@ -220,14 +220,11 @@ public class LogSource {
      *
      * @param className class name.
      * @throws LinkageError           if there is missing dependency.
-     * @throws NoSuchMethodException  if a matching method is not found.
      * @throws SecurityException      If a security manager, <i>s</i>, is 
present and the caller's class loader is not the same as or an ancestor of the 
class
      *                                loader for the current class and 
invocation of {@link SecurityManager#checkPackageAccess s.checkPackageAccess()} 
denies
      *                                access to the package of this class.
-     * @throws ClassNotFoundException if the class cannot be located
      */
-    static public void setLogImplementation(final String className)
-        throws LinkageError, NoSuchMethodException, SecurityException, 
ClassNotFoundException {
+    static public void setLogImplementation(final String className) throws 
LinkageError, SecurityException {
         try {
             final Class logclass = Class.forName(className);
             final Class[] argtypes = new Class[1];

Reply via email to