directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r986726 - /directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/model/LdapServer.java
Date Wed, 18 Aug 2010 15:09:04 GMT
Author: pamarcelot
Date: Wed Aug 18 15:09:04 2010
New Revision: 986726

URL: http://svn.apache.org/viewvc?rev=986726&view=rev
Log:
Improving the test by also checking extending classes.

Modified:
    directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/model/LdapServer.java

Modified: directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/model/LdapServer.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/model/LdapServer.java?rev=986726&r1=986725&r2=986726&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/model/LdapServer.java
(original)
+++ directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/model/LdapServer.java
Wed Aug 18 15:09:04 2010
@@ -304,7 +304,7 @@ public class LdapServer implements IAdap
      */
     public Object getAdapter( Class adapter )
     {
-        if ( adapter == IActionFilter.class )
+        if ( adapter.isAssignableFrom(  IActionFilter.class ))
         {
             return LdapServerActionFilterAdapter.getInstance();
         }



Mime
View raw message