Device Key Javadoc fix
Change-Id: I9e393c5a252996a17026235cc7299eb0211dc566
diff --git a/core/api/src/main/java/org/onosproject/net/key/DeviceKey.java b/core/api/src/main/java/org/onosproject/net/key/DeviceKey.java
index 7511735..4677cc7 100644
--- a/core/api/src/main/java/org/onosproject/net/key/DeviceKey.java
+++ b/core/api/src/main/java/org/onosproject/net/key/DeviceKey.java
@@ -129,10 +129,10 @@
/**
* Method to create a device key of type USERNAME_PASSWORD.
*
- * @param id device key identifier
- * @param label optional label for this device key
- * @param username username for this device key
- * @param password password for this device key
+ * @param id device key identifier
+ * @param label optional label for this device key
+ * @param username username for accessing this device
+ * @param password password for accessing this device
* @return device key
*/
public static DeviceKey createDeviceKeyUsingUsernamePassword(DeviceKeyId id, String label,
@@ -146,15 +146,15 @@
/**
* Method to create a device key of type SSL_KEY.
*
- * @param id device key identifier
- * @param label optional label for this device key
- * @param username username for this device key
- * @param password password for this device key
- * @param sshkey sshkey for this device key
+ * @param id device key identifier
+ * @param label optional label for this device key
+ * @param username username for accessing this device
+ * @param password password for accessing this device SSH key
+ * @param sshkey SSH key for accessing this device
* @return device key
*/
public static DeviceKey createDeviceKeyUsingSshKey(DeviceKeyId id, String label,
- String username, String password, String sshkey) {
+ String username, String password, String sshkey) {
DefaultAnnotations annotations = builder().set(AnnotationKeys.USERNAME, username)
.set(AnnotationKeys.PASSWORD, password)
.set(AnnotationKeys.SSHKEY, sshkey).build();