(james-jdkim) 03/03: Remove unneeded method.

[email protected]
Newsgroups gmane.comp.jakarta.james.devel
Message-ID <[email protected]>
This is an automated email from the ASF dual-hosted git repository.

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-jdkim.git

commit d5082f9da91f70e480ab2753fe583da50007a174
Author: Emerson Pinter <[email protected]>
AuthorDate: Sat Apr 12 17:39:48 2025 -0300

    Remove unneeded method.
    
    A message needs only one valid signature to be valid.
---
 main/src/main/java/org/apache/james/jdkim/DKIMVerifier.java | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/main/src/main/java/org/apache/james/jdkim/DKIMVerifier.java b/main/src/main/java/org/apache/james/jdkim/DKIMVerifier.java
index 40e9836..6f6e4c6 100644
--- a/main/src/main/java/org/apache/james/jdkim/DKIMVerifier.java
+++ b/main/src/main/java/org/apache/james/jdkim/DKIMVerifier.java
@@ -439,15 +439,6 @@ public class DKIMVerifier {
         return result.stream().anyMatch(Result::isSuccess);
     }
 
-    /**
-     * Returns true when all signature verification are successful. A message without dkim-signature is considered a success.
-     *
-     * @return true when success
-     */
-    public boolean isSuccess() {
-        return result.stream().allMatch(Result::isSuccess);
-    }
-
     /**
      * Clears results list for the DKIMVerifier instance
      */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.