mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Typo fixes (#4461)
* Fixed typo on class documentation of TextUtils * corrected comma placement in documentation * Fixed typos in comments
This commit is contained in:
parent
2be828c50e
commit
a3cbe3659c
3 changed files with 4 additions and 4 deletions
|
|
@ -6,7 +6,7 @@ import org.wikipedia.csrf.CsrfTokenClient
|
|||
|
||||
/**
|
||||
* This class acts as a Client to facilitate wiki page editing
|
||||
* services to various dependency providing modules such as the Network module, the Review Controller ,etc
|
||||
* services to various dependency providing modules such as the Network module, the Review Controller, etc.
|
||||
*
|
||||
* The methods provided by this class will post to the Media wiki api
|
||||
* documented at: https://commons.wikimedia.org/w/api.php?action=help&modules=edit
|
||||
|
|
|
|||
|
|
@ -464,7 +464,7 @@ public class LoginActivity extends AccountAuthenticatorActivity {
|
|||
@Override
|
||||
protected void onSaveInstanceState(Bundle outState) {
|
||||
// if progressDialog is visible during the configuration change then store state as true else false so that
|
||||
// we maintain visiblity of progressDailog after configuration change
|
||||
// we maintain visibility of progressDailog after configuration change
|
||||
if(progressDialog!=null&&progressDialog.isShowing()) {
|
||||
outState.putBoolean(saveProgressDailog,true);
|
||||
} else {
|
||||
|
|
@ -472,7 +472,7 @@ public class LoginActivity extends AccountAuthenticatorActivity {
|
|||
}
|
||||
outState.putString(saveErrorMessage,errorMessage.getText().toString()); //Save the errorMessage
|
||||
outState.putString(saveUsername,getUsername()); // Save the username
|
||||
outState.putString(savePassword,getPassword()); // Save thte password
|
||||
outState.putString(savePassword,getPassword()); // Save the password
|
||||
}
|
||||
private String getUsername() {
|
||||
return usernameEdit.getText().toString();
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import androidx.annotation.Nullable;
|
|||
/**
|
||||
* This Class Mocks TextUtils for the purpose of testing.
|
||||
* NOTE: This class would not change the function of the TextUtils used in app
|
||||
* it onlt mocks it for the unit tests
|
||||
* it only mocks it for the unit tests
|
||||
*
|
||||
*/
|
||||
public class TextUtils {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue