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:
KushMehta1511 2021-01-13 13:36:18 +05:30 committed by GitHub
parent 57aab1927a
commit bd90497936
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
*/