directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r824687 - /directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/connection/EditorParameterPage.java
Date Tue, 13 Oct 2009 10:53:10 GMT
Author: seelmann
Date: Tue Oct 13 10:53:09 2009
New Revision: 824687

URL: http://svn.apache.org/viewvc?rev=824687&view=rev
Log:
Fixed NPE, need to use the right object.

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

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/connection/EditorParameterPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/connection/EditorParameterPage.java?rev=824687&r1=824686&r2=824687&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/connection/EditorParameterPage.java
(original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/connection/EditorParameterPage.java
Tue Oct 13 10:53:09 2009
@@ -279,7 +279,7 @@
      */
     public void mergeParametersToLdapURL( ConnectionParameter parameter, LdapURL ldapUrl
)
     {
-        int modifyMode = connectionParameter
+        int modifyMode = parameter
             .getExtendedIntProperty( IBrowserConnection.CONNECTION_PARAMETER_MODIFY_MODE
);
         if ( modifyMode != 0 )
         {
@@ -288,7 +288,7 @@
                     .getExtendedProperty( IBrowserConnection.CONNECTION_PARAMETER_MODIFY_MODE
) ) );
         }
 
-        int modifyModeNoEMR = connectionParameter
+        int modifyModeNoEMR = parameter
             .getExtendedIntProperty( IBrowserConnection.CONNECTION_PARAMETER_MODIFY_MODE_NO_EMR
);
         if ( modifyModeNoEMR != 0 )
         {
@@ -297,7 +297,7 @@
                     .getExtendedProperty( IBrowserConnection.CONNECTION_PARAMETER_MODIFY_MODE_NO_EMR
) ) );
         }
 
-        int modifyOrder = connectionParameter
+        int modifyOrder = parameter
             .getExtendedIntProperty( IBrowserConnection.CONNECTION_PARAMETER_MODIFY_ORDER
);
         if ( modifyOrder != 0 )
         {



Mime
View raw message