Fix javadoc warning
Change-Id: Ib497768c0680d8f8eddaafbd12a76445de0352e3
Signed-off-by: Karsten Thoms <karsten.thoms@karakun.com>
Also-by: Carsten Hammer <carsten.hammer@t-online.de>
diff --git a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/auth/UserValidationDialog.java b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/auth/UserValidationDialog.java
index 6746e87..21000ba 100644
--- a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/auth/UserValidationDialog.java
+++ b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/auth/UserValidationDialog.java
@@ -61,8 +61,12 @@
}
return uio.authentication;
}
+
/**
- * Gets user and password from a user Must be called from UI thread
+ * Gets user and password from a user. Must be called from UI thread.
+ *
+ * @param host the host name
+ * @param message the message to be displayed when prompting
*
* @return UserAuthentication that contains the userid and the password or
* <code>null</code> if the dialog has been cancelled
@@ -73,11 +77,13 @@
ui.open();
return ui.getAuthentication();
}
+
/**
* Creates a new UserValidationDialog.
*
- * @param parentShell
- * parent Shell or null
+ * @param parentShell parent Shell or <code>null</code>
+ * @param host the host name
+ * @param message the message to be displayed when prompting
*/
protected UserValidationDialog(Shell parentShell, String host,
String message) {
@@ -126,8 +132,11 @@
"org.eclipse.update.ui.UserValidationDialog"); //$NON-NLS-1$
return main;
}
+
/**
* Creates the three widgets that represent the user name entry area.
+ *
+ * @param parent
*/
protected void createPasswordFields(Composite parent) {
new Label(parent, SWT.NONE).setText(NetUIMessages.UserValidationDialog_2);
@@ -139,8 +148,11 @@
new Label(parent, SWT.NONE); //spacer
}
+
/**
* Creates the three widgets that represent the user name entry area.
+ *
+ * @param parent
*/
protected void createUsernameFields(Composite parent) {
new Label(parent, SWT.NONE).setText(NetUIMessages.UserValidationDialog_3);