MCPcopy Create free account
hub / github.com/InsightIM/Tok-Android / trim

Method trim

app/src/main/java/com/client/QR/QRCodeEncode.java:227–233  ·  view source on GitHub ↗
(String s)

Source from the content-addressed store, hash-verified

225 }
226
227 private static String trim(String s) {
228 if (s == null) {
229 return null;
230 }
231 String result = s.trim();
232 return result.length() == 0 ? null : result;
233 }
234
235 private static String escapeMECARD(String input) {
236 if (input == null || (input.indexOf(':') < 0 && input.indexOf(';') < 0)) {

Callers 13

encodeQRCodeContentsMethod · 0.95
isUserNameValidMethod · 0.80
byte2StrMethod · 0.80
getStringValueMethod · 0.80
importConfirmMethod · 0.80
submitMethod · 0.80
onClickMethod · 0.80
isBtnEnableMethod · 0.80
onKeyboardActionMethod · 0.80
onClickMethod · 0.80
onKeyboardActionMethod · 0.80
onClickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected