Commits

Anonymous committed caa527a

Improving the test by also checking extending classes.

git-svn-id: https://svn.apache.org/repos/asf/directory/studio/trunk@98672613f79535-47bb-0310-9956-ffa450edef68

Comments (0)

Files changed (1)

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

      */
     public Object getAdapter( Class adapter )
     {
-        if ( adapter == IActionFilter.class )
+        if ( adapter.isAssignableFrom(  IActionFilter.class ))
         {
             return LdapServerActionFilterAdapter.getInstance();
         }