directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1098627 - /directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/RunnableContextRunner.java
Date Mon, 02 May 2011 15:28:48 GMT
Author: pamarcelot
Date: Mon May  2 15:28:48 2011
New Revision: 1098627

URL: http://svn.apache.org/viewvc?rev=1098627&view=rev
Log:
Fix for DIRSTUDIO-724 (Too many events: Outline and Modifications Logs views are refreshed
multiple times).
This bug was caused by a bad instance check on a wrong class name (class hierarchy was modified
earlier and this file was not updated).

Modified:
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/RunnableContextRunner.java

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/RunnableContextRunner.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/RunnableContextRunner.java?rev=1098627&r1=1098626&r2=1098627&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/RunnableContextRunner.java
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/RunnableContextRunner.java
Mon May  2 15:28:48 2011
@@ -28,6 +28,7 @@ import org.apache.directory.studio.conne
 import org.apache.directory.studio.connection.core.IConnectionListener;
 import org.apache.directory.studio.connection.core.Messages;
 import org.apache.directory.studio.connection.core.event.ConnectionEventRegistry;
+import org.apache.directory.studio.connection.core.jobs.StudioConnectionBulkRunnableWithProgress;
 import org.apache.directory.studio.connection.core.jobs.StudioConnectionRunnableWithProgress;
 import org.eclipse.core.runtime.IProgressMonitor;
 import org.eclipse.core.runtime.IStatus;
@@ -103,9 +104,9 @@ public class RunnableContextRunner
                 {
                     try
                     {
-                        if ( runnable instanceof StudioBulkRunnableWithProgress )
+                        if ( runnable instanceof StudioConnectionBulkRunnableWithProgress
)
                         {
-                            StudioBulkRunnableWithProgress bulkRunnable = ( StudioBulkRunnableWithProgress
) runnable;
+                            StudioConnectionBulkRunnableWithProgress bulkRunnable = ( StudioConnectionBulkRunnableWithProgress
) runnable;
                             ConnectionEventRegistry.suspendEventFiringInCurrentThread();
                             try
                             {



Mime
View raw message