Commit 21ef5695 by Sebastián Katzer

Rename internal methods

parent e14cfe98
......@@ -151,8 +151,8 @@ public final class Request {
Object every = spec.opt("every");
if (every instanceof JSONObject) {
List<Integer> cmp1 = getMatchingComponents();
List<Integer> cmp2 = getSpecialMatchingComponents();
List<Integer> cmp1 = getMatchers();
List<Integer> cmp2 = getSpecials();
return new MatchTrigger(cmp1, cmp2);
}
......@@ -208,7 +208,7 @@ public final class Request {
*
* @return [min, hour, day, month, year]
*/
private List<Integer> getMatchingComponents() {
private List<Integer> getMatchers() {
JSONObject every = spec.optJSONObject("every");
return Arrays.asList(
......@@ -223,9 +223,9 @@ public final class Request {
/**
* Gets an array of all date parts to construct a datetime instance.
*
* @return [min, hour, day, month, year]
* @return [weekday, weekdayOrdinal, weekOfMonth, quarter]
*/
private List<Integer> getSpecialMatchingComponents() {
private List<Integer> getSpecials() {
JSONObject every = spec.optJSONObject("every");
return Arrays.asList(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment