directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r676418 - /directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/filtereditor/FilterAutoEditStrategy.java
Date Sun, 13 Jul 2008 19:39:40 GMT
Author: seelmann
Date: Sun Jul 13 12:39:40 2008
New Revision: 676418

URL: http://svn.apache.org/viewvc?rev=676418&view=rev
Log:
Fix for DIRSTUDIO-341

Modified:
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/filtereditor/FilterAutoEditStrategy.java

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/filtereditor/FilterAutoEditStrategy.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/filtereditor/FilterAutoEditStrategy.java?rev=676418&r1=676417&r2=676418&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/filtereditor/FilterAutoEditStrategy.java
(original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/filtereditor/FilterAutoEditStrategy.java
Sun Jul 13 12:39:40 2008
@@ -87,6 +87,10 @@
     {
         parser.parse( currentFilter );
         LdapFilter filter = parser.getModel().getFilter( aep.offset );
+        if ( filter == null )
+        {
+            return;
+        }
 
         // check balanced parenthesis
         int balanced = 0;



Mime
View raw message