directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1005850 - /directory/studio/branches/shared-trunk-merge/plugins/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/LdifOutlinePage.java
Date Fri, 08 Oct 2010 14:47:17 GMT
Author: pamarcelot
Date: Fri Oct  8 14:47:17 2010
New Revision: 1005850

URL: http://svn.apache.org/viewvc?rev=1005850&view=rev
Log:
Fixed a bug where a folded DN line in the LDIF Editor would cause a NPE.

Modified:
    directory/studio/branches/shared-trunk-merge/plugins/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/LdifOutlinePage.java

Modified: directory/studio/branches/shared-trunk-merge/plugins/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/LdifOutlinePage.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/shared-trunk-merge/plugins/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/LdifOutlinePage.java?rev=1005850&r1=1005849&r2=1005850&view=diff
==============================================================================
--- directory/studio/branches/shared-trunk-merge/plugins/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/LdifOutlinePage.java
(original)
+++ directory/studio/branches/shared-trunk-merge/plugins/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/LdifOutlinePage.java
Fri Oct  8 14:47:17 2010
@@ -444,7 +444,7 @@ public class LdifOutlinePage extends Con
                     LdifDnLine dnLine = record.getDnLine();
                     if ( dnLine != null )
                     {
-                        String dn = dnLine.getRawDn();
+                        String dn = dnLine.getUnfoldedDn();
                         if ( dn != null && "".equals( dn ) ) //$NON-NLS-1$
                         {
                             // Root DSE



Mime
View raw message