String keyStr = key.toString().trim(); if (!keyStr.contains("(")) { String type = keyStr.contains(".") ? S.cut(keyStr).afterLast(".") : keyStr; type = S.camelCase(type); AtomicInteger counter = nameCounters.get(type);
} else { if (sKey.contains(".")) { String id = S.cut(key).beforeFirst("."); String prop = S.cut(key).afterFirst("."); if ("?".equals(id) || "<any>".equalsIgnoreCase(id)) { for (Object arrayElement : array) {
String s = entry.getKey(); while (s.contains(".")) { s = S.cut(s).beforeLast("."); this.intermediates.add(s);
try { URL subUrl = new URL(subUrlSpec); String s = S.cut(fileName).beforeLast("."); map.put(isKeyword ? Keyword.of(s) : s, _load(subUrl, subSpec, hint)); } catch (MalformedURLException e) { String key = S.cut(file.getName()).beforeLast("."); try { URL fileUrl = file.toURI().toURL();
try { URL subUrl = new URL(subUrlSpec); String s = S.cut(fileName).beforeLast("."); map.put(isKeyword ? Keyword.of(s) : s, _load(subUrl, subSpec, hint)); } catch (MalformedURLException e) { String key = S.cut(file.getName()).beforeLast("."); try { URL fileUrl = file.toURI().toURL();
String checksum = IO.checksum(content); RequestBody fileBody = RequestBody.create(MediaType.parse(fileFormat.contentType()), content); formBuilder.addFormDataPart(key, S.cut(filePath).afterLast("/"), fileBody); cache("checksum-last", checksum); cache("checksum-" + val, checksum);
specialMap = S.cut(specialMap).afterLast(".");
specialMap = S.cut(specialMap).afterLast(".");
String checksum = IO.checksum(content); RequestBody fileBody = RequestBody.create(MediaType.parse(fileFormat.contentType()), content); formBuilder.addFormDataPart(key, S.cut(filePath).afterLast("/"), fileBody); cache("checksum-last", checksum); cache("checksum-" + val, checksum);
String keyStr = key.toString().trim(); if (!keyStr.contains("(")) { String type = keyStr.contains(".") ? S.cut(keyStr).afterLast(".") : keyStr; type = S.camelCase(type); AtomicInteger counter = nameCounters.get(type);
throw new ConfigurationException("Invalid cache ttl configuration: " + key); key = S.cut(key.substring(6)).beforeLast("."); app().cache(key).setDefaultTTL(ttl);
String fileName = path.contains("/") ? S.cut(path).afterLast("/") : path; String mailTemplatePath = S.concat("mail/", fileName); template = getTemplate(context, config, mailTemplatePath);
String keyStr = key.toString().trim(); if (!keyStr.contains("(")) { String type = keyStr.contains(".") ? S.cut(keyStr).afterLast(".") : keyStr; type = S.camelCase(type); AtomicInteger counter = nameCounters.get(type);
throw new ConfigurationException("Invalid cache ttl configuration: " + key); key = S.cut(key.substring(6)).beforeLast("."); app().cache(key).setDefaultTTL(ttl);
String context = ""; if (word.contains(".")) { context = S.cut(word).beforeLast(".");
String context = ""; if (word.contains(".")) { context = S.cut(word).beforeLast(".");
} else { if (sKey.contains(".")) { String id = S.cut(key).beforeFirst("."); String prop = S.cut(key).afterFirst("."); if ("?".equals(id) || "<any>".equalsIgnoreCase(id)) { for (Object arrayElement : array) {
String fileName = path.contains("/") ? S.cut(path).afterLast("/") : path; String mailTemplatePath = S.concat("mail/", fileName); template = getTemplate(context, config, mailTemplatePath);
} else { if (key.contains(".")) { String id = S.cut(key).beforeFirst("."); String prop = S.cut(key).afterFirst("."); if ("?".equals(id) || "<any>".equalsIgnoreCase(id)) { for (Object arrayElement : array) {
String s = entry.getKey(); while (s.contains(".")) { s = S.cut(s).beforeLast("."); this.intermediates.add(s);