directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r545876 - /directory/studio/trunk/studio-valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/DnValueEditor.java
Date Sun, 10 Jun 2007 13:54:10 GMT
Author: seelmann
Date: Sun Jun 10 06:54:09 2007
New Revision: 545876

URL: http://svn.apache.org/viewvc?view=rev&rev=545876
Log:
Fixed NPE

Modified:
    directory/studio/trunk/studio-valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/DnValueEditor.java

Modified: directory/studio/trunk/studio-valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/DnValueEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/DnValueEditor.java?view=diff&rev=545876&r1=545875&r2=545876
==============================================================================
--- directory/studio/trunk/studio-valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/DnValueEditor.java
(original)
+++ directory/studio/trunk/studio-valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/DnValueEditor.java
Sun Jun 10 06:54:09 2007
@@ -55,7 +55,7 @@
             DN dn;
             try
             {
-                dn = new DN( wrapper.dn );
+                dn = wrapper.dn != null ? new DN( wrapper.dn ) : null;
             }
             catch ( NameException e )
             {



Mime
View raw message