mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Remove ActionDispatch::capitalize
This predicate isn't used.
This commit is contained in:
committed by
Harry Maclean
parent
ad71fdbb24
commit
9c67869875
@@ -886,13 +886,6 @@ module ActionDispatch {
|
||||
.regexpReplaceAll("::Z", "/z"))
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the first character of the string to uppercase.
|
||||
* TODO: remove?
|
||||
*/
|
||||
bindingset[input]
|
||||
string capitalize(string input) { result = input.charAt(0).toUpperCase() + input.suffix(1) }
|
||||
|
||||
/**
|
||||
* Convert the first character of the string to lowercase.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user