directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r501192 - /directory/ldapstudio/branches/0.6.0/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/internal/model/ConnectionSearchHandler.java
Date Mon, 29 Jan 2007 21:50:25 GMT
Author: seelmann
Date: Mon Jan 29 13:50:24 2007
New Revision: 501192

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

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

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



Mime
View raw message