Skip to content

Commit

Permalink
Change string to str variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
micryc committed Jul 30, 2024
1 parent 34eb367 commit aaf6a17
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public CharSequence backslash() {
return "\\";
}

public String capitalize(String string){
return string.substring(0, 1).toUpperCase() + string.substring(1).toLowerCase();
public String capitalize(String str){
return str.substring(0, 1).toUpperCase() + str.substring(1).toLowerCase();
}
}

0 comments on commit aaf6a17

Please sign in to comment.