diff options
Diffstat (limited to 'org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AwtAuthenticator.java')
-rw-r--r-- | org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AwtAuthenticator.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AwtAuthenticator.java b/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AwtAuthenticator.java index 486bbf6ab6..dfa6e2ba48 100644 --- a/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AwtAuthenticator.java +++ b/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AwtAuthenticator.java @@ -58,13 +58,18 @@ import javax.swing.JTextField; import org.eclipse.jgit.util.CachedAuthenticator; -/** Basic network prompt for username/password when using AWT. */ +/** + * Basic network prompt for username/password when using AWT. + */ public class AwtAuthenticator extends CachedAuthenticator { - /** Install this authenticator implementation into the JVM. */ + /** + * Install this authenticator implementation into the JVM. + */ public static void install() { setDefault(new AwtAuthenticator()); } + /** {@inheritDoc} */ @Override protected PasswordAuthentication promptPasswordAuthentication() { final GridBagConstraints gbc = new GridBagConstraints(0, 0, 1, 1, 1, 1, |