directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r501163 - /directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/internal/model/ConnectionSearchHandler.java
Date Mon, 29 Jan 2007 19:47:01 GMT
Author: seelmann
Date: Mon Jan 29 11:47:01 2007
New Revision: 501163

URL: http://svn.apache.org/viewvc?view=rev&rev=501163
Log:
Fixed infinite loop when search throws an exception.

Modified:
    directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/internal/model/ConnectionSearchHandler.java

Modified: directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/internal/model/ConnectionSearchHandler.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/internal/model/ConnectionSearchHandler.java?view=diff&rev=501163&r1=501162&r2=501163
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/internal/model/ConnectionSearchHandler.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/internal/model/ConnectionSearchHandler.java
Mon Jan 29 11:47:01 2007
@@ -235,6 +235,10 @@
         }
         catch ( Exception e )
         {
+            if ( search != null )
+            {
+                search.setSearchResults( new ISearchResult[0] );
+            }
             monitor.reportError( e );
         }
     }



Mime
View raw message