diff options
author | Erik Kline | 2018-02-27 01:12:23 -0600 |
---|---|---|
committer | Erik Kline | 2018-02-27 01:12:55 -0600 |
commit | b154d18d110439b86dfbeb498318948cbebe42b1 (patch) | |
tree | aad9041c4ec4a9a039b73f1e7771ca5fffe1f8c3 /base/include | |
parent | 89063827b195056628f80ba13fedf4c8917c3d51 (diff) | |
download | platform-system-core-b154d18d110439b86dfbeb498318948cbebe42b1.tar.gz platform-system-core-b154d18d110439b86dfbeb498318948cbebe42b1.tar.xz platform-system-core-b154d18d110439b86dfbeb498318948cbebe42b1.zip |
EndsWith *suffix*
Possibly an old copy and paste error.
Test: built
Change-Id: Ie86203d65b4021ed4b787d2330729ab0b1d73e9d
Diffstat (limited to 'base/include')
-rw-r--r-- | base/include/android-base/strings.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/include/android-base/strings.h b/base/include/android-base/strings.h index c11acb10d..4d9fa3404 100644 --- a/base/include/android-base/strings.h +++ b/base/include/android-base/strings.h | |||
@@ -67,8 +67,8 @@ bool StartsWithIgnoreCase(const std::string& s, const std::string& prefix); | |||
67 | // TODO: string_view | 67 | // TODO: string_view |
68 | bool EndsWith(const std::string& s, const char* suffix); | 68 | bool EndsWith(const std::string& s, const char* suffix); |
69 | bool EndsWithIgnoreCase(const std::string& s, const char* suffix); | 69 | bool EndsWithIgnoreCase(const std::string& s, const char* suffix); |
70 | bool EndsWith(const std::string& s, const std::string& prefix); | 70 | bool EndsWith(const std::string& s, const std::string& suffix); |
71 | bool EndsWithIgnoreCase(const std::string& s, const std::string& prefix); | 71 | bool EndsWithIgnoreCase(const std::string& s, const std::string& suffix); |
72 | 72 | ||
73 | // Tests whether 'lhs' equals 'rhs', ignoring case. | 73 | // Tests whether 'lhs' equals 'rhs', ignoring case. |
74 | bool EqualsIgnoreCase(const std::string& lhs, const std::string& rhs); | 74 | bool EqualsIgnoreCase(const std::string& lhs, const std::string& rhs); |