directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1500017 - /directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java
Date Fri, 05 Jul 2013 14:18:57 GMT
Author: pamarcelot
Date: Fri Jul  5 14:18:57 2013
New Revision: 1500017

URL: http://svn.apache.org/r1500017
Log:
Final fix for DIRSTUDIO-903 (Clicking "Accept" when no changes have been made on the password
edit dialog changes the password)

Modified:
    directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java

Modified: directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java?rev=1500017&r1=1500016&r2=1500017&view=diff
==============================================================================
--- directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java
(original)
+++ directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java
Fri Jul  5 14:18:57 2013
@@ -685,7 +685,7 @@ public class PasswordDialog extends Dial
     {
         // set new password to the UI widgets
         newPassword = new Password( getSelectedNewPasswordHashMethod(), newPasswordText.getText()
);
-        if ( !"".equals( newPasswordText.getText() ) || newPassword.getHashMethod() == null
) //$NON-NLS-1$
+        if ( !"".equals( newPasswordText.getText() ) ) //$NON-NLS-1$
         {
             newPasswordPreviewValueHexText
                 .setText( Utils.getNonNullString( newPassword.getHashedPasswordAsHexString()
) );



Mime
View raw message