Renamed HgUsernamePasswordDialog to HgAuthDialog
authorKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Sun, 24 Apr 2011 11:28:18 +0000 (15:28 +0400)
committerKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Sun, 24 Apr 2011 12:13:05 +0000 (16:13 +0400)
plugins/hg4idea/src/org/zmlx/hg4idea/execution/HgCommandAuthenticator.java
plugins/hg4idea/src/org/zmlx/hg4idea/ui/HgAuthDialog.java [moved from plugins/hg4idea/src/org/zmlx/hg4idea/ui/HgUsernamePasswordDialog.java with 93% similarity]

index ad60053ae2c1ed0e3aa452823a40952262d00014..bd222fa6536e3fa4266465075166d8376abce8ba 100644 (file)
@@ -23,7 +23,7 @@ import org.apache.commons.lang.StringUtils;
 import org.jetbrains.annotations.Nullable;
 import org.zmlx.hg4idea.HgGlobalSettings;
 import org.zmlx.hg4idea.HgVcs;
-import org.zmlx.hg4idea.ui.HgUsernamePasswordDialog;
+import org.zmlx.hg4idea.ui.HgAuthDialog;
 
 import java.awt.*;
 import java.lang.reflect.InvocationTargetException;
@@ -148,7 +148,7 @@ class HgCommandAuthenticator {
         return;
       }
 
-      final HgUsernamePasswordDialog dialog = new HgUsernamePasswordDialog(myProject, myURL, login, password);
+      final HgAuthDialog dialog = new HgAuthDialog(myProject, myURL, login, password);
       dialog.show();
       if (dialog.isOK()) {
         myUserName = dialog.getUsername();
similarity index 93%
rename from plugins/hg4idea/src/org/zmlx/hg4idea/ui/HgUsernamePasswordDialog.java
rename to plugins/hg4idea/src/org/zmlx/hg4idea/ui/HgAuthDialog.java
index 7b50dd9f335003f84a289ee96a34614793ed2487..e88f83ab250f84f07115f8081f7f9c57c1ed88f1 100644 (file)
@@ -23,10 +23,10 @@ import org.zmlx.hg4idea.HgVcsMessages;
 
 import javax.swing.*;
 
-public class HgUsernamePasswordDialog extends DialogWrapper {
+public class HgAuthDialog extends DialogWrapper {
   private AuthenticationPanel authPanel;
 
-  public HgUsernamePasswordDialog(Project project, String url, String login, String password) {
+  public HgAuthDialog(Project project, String url, String login, String password) {
     super(project, false);
     setTitle(HgVcsMessages.message("hg4idea.dialog.login.password.required"));