diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-11-23 21:00:55 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-11-23 21:03:38 +0100 |
commit | 25056d10a6648aedd0d77fccf80a33adf65d0f8b (patch) | |
tree | c84ca2b71fc474850af1fbfc22e4daf9236a5838 /src/main/java/de/pixart/messenger/ui/ChangePasswordActivity.java | |
parent | a42f6ec1caad233ec9b878ebfa7ba5070ffd67ef (diff) |
code cleanup
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ChangePasswordActivity.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ChangePasswordActivity.java b/src/main/java/de/pixart/messenger/ui/ChangePasswordActivity.java index ddbbbca36..49a826f29 100644 --- a/src/main/java/de/pixart/messenger/ui/ChangePasswordActivity.java +++ b/src/main/java/de/pixart/messenger/ui/ChangePasswordActivity.java @@ -65,19 +65,19 @@ public class ChangePasswordActivity extends XmppActivity implements XmppConnecti protected void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_change_password); - Button mCancelButton = (Button) findViewById(R.id.left_button); + Button mCancelButton = findViewById(R.id.left_button); mCancelButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { finish(); } }); - this.mChangePasswordButton = (Button) findViewById(R.id.right_button); + this.mChangePasswordButton = findViewById(R.id.right_button); this.mChangePasswordButton.setOnClickListener(this.mOnChangePasswordButtonClicked); - this.mCurrentPasswordLabel = (TextView) findViewById(R.id.current_password_label); - this.mCurrentPassword = (EditText) findViewById(R.id.current_password); - this.mNewPassword = (EditText) findViewById(R.id.new_password); - this.mNewPasswordConfirm = (EditText) findViewById(R.id.new_password_confirm); + this.mCurrentPasswordLabel = findViewById(R.id.current_password_label); + this.mCurrentPassword = findViewById(R.id.current_password); + this.mNewPassword = findViewById(R.id.new_password); + this.mNewPasswordConfirm = findViewById(R.id.new_password_confirm); } @Override |