MCPcopy Create free account
hub / github.com/diyhi/bbs / isPositiveInteger

Method isPositiveInteger

src/main/java/cms/utils/Verification.java:135–140  ·  view source on GitHub ↗

校验正整数 @param param 参数 @return

(String param)

Source from the content-addressed store, hash-verified

133 * @return
134 */
135 public static boolean isPositiveInteger(String param){
136 if (INTEGER_POSITIVE.matcher(param).matches()) {
137 return true;
138 }
139 return false;
140 }
141 /**
142 * 校验正整数+0
143 * @param param 参数

Callers 13

correctionHiddenTagMethod · 0.95
getSmsCodeMethod · 0.95
getBindingSmsCodeMethod · 0.95
addTopicMethod · 0.95
registerMethod · 0.95
phoneBindingMethod · 0.95
updatePhoneBinding_2Method · 0.95
getPaymentLogDetailsMethod · 0.95
getSearchMethod · 0.95
getSearchMethod · 0.95

Calls 1

matchesMethod · 0.65

Tested by

no test coverage detected