Source:
<code>public void doCreateAccount(@NonNull String token) { progressDialog.show(); String email = null; if (emailEdit.getText().length() != 0) { email = emailEdit.getText().toString(); } new CreateAccountClient().request(wiki, usernameEdit.getText().toString(), passwordEdit.getText().toString(), <START> passwordRepeatEdit.getText().toString(), token, <END> email, captchaHandler.isActive() ? captchaHandler.captchaId() : "null", captchaHandler.isActive() ? captchaHandler.captchaWord() : "null", new CreateAccountClient.Callback() { @Override public void success(@NonNull Call<MwCreateAccountResponse> call, @NonNull CreateAccountSuccessResult result) { if (!progressDialog.isShowing()) { return; } createAccountResult = result; progressDialog.dismiss(); captchaHandler.cancelCaptcha(); funnel.logSuccess(); hideSoftKeyboard(CreateAccountActivity.this); Intent resultIntent = new Intent(); resultIntent.putExtra("username", ((CreateAccountSuccessResult) result).getUsername()); resultIntent.putExtra("password", passwordEdit.getText().toString()); setResult(RESULT_ACCOUNT_CREATED, resultIntent); finish(); } @Override public void failure(@NonNull Call<MwCreateAccountResponse> call, @NonNull CreateAccountResult result) { if (!progressDialog.isShowing()) { return; } createAccountResult = result; progressDialog.dismiss(); captchaHandler.cancelCaptcha(); if (result.getMessage() != null) { handleError(result.getMessage()); } } @Override public void failure(@NonNull Call<MwCreateAccountResponse> call, @NonNull Throwable caught) { L.d("Caught " + caught.toString()); if (!progressDialog.isShowing()) { return; } progressDialog.dismiss(); FeedbackUtil.showError(CreateAccountActivity.this, caught); } }); }</code><technical_language>Is intentional passwordRepeat text logic</technical_language>

Target:
public void doCreateAccount(@NonNull String token) { progressDialog.show(); String email = null; if (emailEdit.getText().length() != 0) { email = emailEdit.getText().toString(); } String password = passwordEdit.getText().toString(); String repeat = passwordInput.isPasswordVisible() ? password : passwordRepeatEdit.getText().toString(); createAccountClient.request(wiki, usernameEdit.getText().toString(), password, repeat, token, email, captchaHandler.isActive() ? captchaHandler.captchaId() : "null", captchaHandler.isActive() ? captchaHandler.captchaWord() : "null", new CreateAccountClient.Callback() { @Override public void success(@NonNull Call<CreateAccountResponse> call, @NonNull CreateAccountSuccessResult result) { if (!progressDialog.isShowing()) { return; } createAccountResult = result; progressDialog.dismiss(); captchaHandler.cancelCaptcha(); funnel.logSuccess(); hideSoftKeyboard(CreateAccountActivity.this); Intent resultIntent = new Intent(); resultIntent.putExtra("username", result.getUsername()); resultIntent.putExtra("password", passwordEdit.getText().toString()); setResult(RESULT_ACCOUNT_CREATED, resultIntent); finish(); } @Override public void failure(@NonNull Call<CreateAccountResponse> call, @NonNull Throwable caught) { L.e(caught.toString()); if (!progressDialog.isShowing()) { return; } progressDialog.dismiss(); FeedbackUtil.showError(CreateAccountActivity.this, caught); } }); }