Simplify equals() methods
[aaa.git] / aaa-authn-api / src / main / java / org / opendaylight / aaa / api / model / UserPwd.java
index 4750616da9b860a47d41641df8bb7036795a5ce8..bca9b7cf84fb901b68de5dcfc64155008afba297 100644 (file)
@@ -5,15 +5,8 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 package org.opendaylight.aaa.api.model;
 
-/**
- *
- * @author peter.mellquist@hp.com
- *
- */
-
 import javax.xml.bind.annotation.XmlRootElement;
 
 @XmlRootElement(name = "userpwd")
@@ -25,16 +18,15 @@ public class UserPwd {
         return username;
     }
 
-    public void setUsername(String name) {
-        this.username = name;
+    public void setUsername(final String name) {
+        username = name;
     }
 
     public String getUserpwd() {
         return userpwd;
     }
 
-    public void setUserpwd(String pwd) {
-        this.userpwd = pwd;
+    public void setUserpwd(final String pwd) {
+        userpwd = pwd;
     }
-
 }