directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r757572 - in /directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs: InitializeAttributesRunnable.java InitializeChildrenRunnable.java
Date Mon, 23 Mar 2009 22:16:43 GMT
Author: seelmann
Date: Mon Mar 23 22:16:41 2009
New Revision: 757572

URL: http://svn.apache.org/viewvc?rev=757572&view=rev
Log:
Fixed bug causing an infinite loop

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

Modified: directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeAttributesRunnable.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeAttributesRunnable.java?rev=757572&r1=757571&r2=757572&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeAttributesRunnable.java
(original)
+++ directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeAttributesRunnable.java
Mon Mar 23 22:16:41 2009
@@ -148,7 +148,7 @@
     {
         for ( IEntry entry : entries )
         {
-            if ( entry.getBrowserConnection() != null && entry.isDirectoryEntry()
)
+            if ( entry.getBrowserConnection() != null && entry.isDirectoryEntry()
&& entry.isAttributesInitialized() )
             {
                 EventRegistry.fireEntryUpdated( new AttributesInitializedEvent( entry ),
this );
             }

Modified: directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeChildrenRunnable.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeChildrenRunnable.java?rev=757572&r1=757571&r2=757572&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeChildrenRunnable.java
(original)
+++ directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeChildrenRunnable.java
Mon Mar 23 22:16:41 2009
@@ -185,7 +185,7 @@
     {
         for ( IEntry entry : entries )
         {
-            if ( entry.getBrowserConnection() != null && entry.isDirectoryEntry()
)
+            if ( entry.getBrowserConnection() != null && entry.isDirectoryEntry()
&& entry.isChildrenInitialized() )
             {
                 EventRegistry.fireEntryUpdated( new ChildrenInitializedEvent( entry ), this
);
             }



Mime
View raw message