directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r928755 - /directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java
Date Mon, 29 Mar 2010 12:38:06 GMT
Author: pamarcelot
Date: Mon Mar 29 12:38:05 2010
New Revision: 928755

URL: http://svn.apache.org/viewvc?rev=928755&view=rev
Log:
Fixed a "recursive attempt to create itself" warning log for the Search Result Editor.

Modified:
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java?rev=928755&r1=928754&r2=928755&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java
Mon Mar 29 12:38:05 2010
@@ -242,13 +242,7 @@ public class SearchResultEditor extends 
      */
     public void init( IEditorSite site, IEditorInput input ) throws PartInitException
     {
-        super.setSite( site );
-
-        // mark dummy location, necessary because the first marked
-        // location doesn't appear in history
-        setInput( new SearchResultEditorInput( null ) );
-        getSite().getPage().getNavigationHistory().markLocation( this );
-
+        setSite( site );
         setInput( input );
 
         EventRegistry



Mime
View raw message