MCPcopy Index your code
hub / github.com/Tencent/APIJSON / addSuffix

Method addSuffix

APIJSONORM/src/main/java/apijson/StringUtil.java:1029–1035  ·  view source on GitHub ↗

@param key @param suffix @return key + suffix,第一个字母小写

(String key, String suffix)

Source from the content-addressed store, hash-verified

1027 * @return key + suffix,第一个字母小写
1028 */
1029 public static String addSuffix(String key, String suffix) {
1030 key = noBlank(key);
1031 if (key.isEmpty()) {
1032 return firstCase(suffix);
1033 }
1034 return firstCase(key) + firstCase(suffix, true);
1035 }
1036 /**
1037 * @param key
1038 */

Callers

nothing calls this directly

Calls 3

noBlankMethod · 0.95
firstCaseMethod · 0.95
isEmptyMethod · 0.45

Tested by

no test coverage detected