directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r755012 - /directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/BrowserQuickSearchWidget.java
Date Mon, 16 Mar 2009 21:41:31 GMT
Author: seelmann
Date: Mon Mar 16 21:41:30 2009
New Revision: 755012

URL: http://svn.apache.org/viewvc?rev=755012&view=rev
Log:
Fixed issue with history

Modified:
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/BrowserQuickSearchWidget.java

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/BrowserQuickSearchWidget.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/BrowserQuickSearchWidget.java?rev=755012&r1=755011&r2=755012&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/BrowserQuickSearchWidget.java
(original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/BrowserQuickSearchWidget.java
Mon Mar 16 21:41:30 2009
@@ -135,11 +135,7 @@
     {
         this.browserWidget = browserWidget;
 
-        if ( BrowserCommonActivator.getDefault().getDialogSettings().get( VALUE_HISTORY_DIALOGSETTING_KEY
) == null )
-        {
-            BrowserCommonActivator.getDefault().getDialogSettings().put( VALUE_HISTORY_DIALOGSETTING_KEY,
EMPTY );
-        }
-        if ( BrowserCommonActivator.getDefault().getDialogSettings().get( ATTRIBUTE_HISTORY_DIALOGSETTING_KEY
) == null )
+        if ( HistoryUtils.load( ATTRIBUTE_HISTORY_DIALOGSETTING_KEY ).length == 0 )
         {
             BrowserCommonActivator.getDefault().getDialogSettings().put( ATTRIBUTE_HISTORY_DIALOGSETTING_KEY,
                 new String[]



Mime
View raw message