[Fix] 修正错误方法名

pull/703/head
yihy 7 years ago
parent 266083fa07
commit adf5454837

@ -61,7 +61,7 @@ public class RedisScheduler extends DuplicateRemovedScheduler implements Monitor
Jedis jedis = pool.getResource();
try {
jedis.rpush(getQueueKey(task), request.getUrl());
if (CheckForAdditionalInfo(request)) {
if (checkForAdditionalInfo(request)) {
String field = DigestUtils.shaHex(request.getUrl());
String value = JSON.toJSONString(request);
jedis.hset((ITEM_PREFIX + task.getUUID()), field, value);
@ -71,7 +71,7 @@ public class RedisScheduler extends DuplicateRemovedScheduler implements Monitor
}
}
private boolean CheckForAdditionalInfo(Request request) {
private boolean checkForAdditionalInfo(Request request) {
if (request == null) {
return false;
}

Loading…
Cancel
Save