mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Updating comments in PageEditClient.java (#4170)
Description (required) Fixes commons-app#4161 In the comments of the class PageEditClient.java "@param pagetitle" is written in three areas in this file. It should have been "@param pageTitle" with capital T as pageTitle is being passed as an argument rather than pagetitle. What changes did you make and why? Changes are made in the comments of fil where the parameters for Observable method are stated. pagetitle has been changed to pageTitle as the correct argument passed. This change would increase the code readability for fellow developers.
This commit is contained in:
parent
57aab1927a
commit
bd90497936
1 changed files with 3 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ public class PageEditClient {
|
|||
|
||||
/**
|
||||
* This method is used when the content of the page is to be replaced by new content received
|
||||
* @param pagetitle Title of the page to edit
|
||||
* @param pageTitle Title of the page to edit
|
||||
* @param text Holds the page content
|
||||
* @param summary Edit summary
|
||||
*/
|
||||
|
|
@ -45,7 +45,7 @@ public class PageEditClient {
|
|||
|
||||
/**
|
||||
* This method is used when we need to append something to the end of wiki page content
|
||||
* @param pagetitle Title of the page to edit
|
||||
* @param pageTitle Title of the page to edit
|
||||
* @param appendText The received page content is added to beginning of the page
|
||||
* @param summary Edit summary
|
||||
*/
|
||||
|
|
@ -64,7 +64,7 @@ public class PageEditClient {
|
|||
|
||||
/**
|
||||
* This method is used when we need to add something to the starting of the page
|
||||
* @param pagetitle Title of the page to edit
|
||||
* @param pageTitle Title of the page to edit
|
||||
* @param prependText The received page content is added to beginning of the page
|
||||
* @param summary Edit summary
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue