[tomcat] branch 9.0.x updated: Remove unnecessary annotation with EasyMock 4.2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[tomcat] branch 9.0.x updated: Remove unnecessary annotation with EasyMock 4.2

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

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new b92c8b3  Remove unnecessary annotation with EasyMock 4.2
b92c8b3 is described below

commit b92c8b30e29d101291173aca6d5978f0f8c243b7
Author: Mark Thomas <[hidden email]>
AuthorDate: Fri Oct 16 19:51:33 2020 +0100

    Remove unnecessary annotation with EasyMock 4.2
---
 test/org/apache/catalina/realm/TestJNDIRealm.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/test/org/apache/catalina/realm/TestJNDIRealm.java b/test/org/apache/catalina/realm/TestJNDIRealm.java
index 5ffac18..00180e1 100644
--- a/test/org/apache/catalina/realm/TestJNDIRealm.java
+++ b/test/org/apache/catalina/realm/TestJNDIRealm.java
@@ -141,7 +141,6 @@ public class TestJNDIRealm {
 
     private NamingEnumeration<SearchResult> mockSearchResults(String password)
             throws NamingException {
-        @SuppressWarnings("unchecked")
         NamingEnumeration<SearchResult> searchResults =
                 EasyMock.createNiceMock(NamingEnumeration.class);
         EasyMock.expect(Boolean.valueOf(searchResults.hasMore()))


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]