directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r767293 - /directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java
Date Tue, 21 Apr 2009 21:07:33 GMT
Author: seelmann
Date: Tue Apr 21 21:07:33 2009
New Revision: 767293

URL: http://svn.apache.org/viewvc?rev=767293&view=rev
Log:
Wrong usage of Arrays.asList

Modified:
    directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java

Modified: directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java?rev=767293&r1=767292&r2=767293&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java
(original)
+++ directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java
Tue Apr 21 21:07:33 2009
@@ -734,7 +734,7 @@
             }
         }
 
-        if ( ( searchParameter.getControls() != null && Arrays.asList( searchParameter.getControls()
).contains(
+        if ( ( searchParameter.getControls() != null && searchParameter.getControls().contains(
             StudioControl.SUBENTRIES_CONTROL ) )
             || ISearch.FILTER_SUBENTRY.equalsIgnoreCase( searchParameter.getFilter() ) )
         {



Mime
View raw message