diff --git a/cool-core/src/main/java/com/nus/cool/core/cohort/CohortProcessor.java b/cool-core/src/main/java/com/nus/cool/core/cohort/CohortProcessor.java index 9deb7c7f..8eb8bb2b 100644 --- a/cool-core/src/main/java/com/nus/cool/core/cohort/CohortProcessor.java +++ b/cool-core/src/main/java/com/nus/cool/core/cohort/CohortProcessor.java @@ -234,7 +234,8 @@ private void processTuple(MetaChunkRS metaChunk) { return; } - LocalDateTime actionTime = DateUtils.secondsSinceEpoch(tuple.getValueBySchema(this.actionTimeSchema).getInt()); + LocalDateTime actionTime = DateUtils.secondsSinceEpoch( + tuple.getValueBySchema(this.actionTimeSchema).getInt()); // check whether its birthEvent is selected if (!this.birthSelector.isUserSelected(userId)) { boolean selected = this.birthSelector.selectEvent(userId, actionTime, this.tuple); diff --git a/cool-core/src/main/java/com/nus/cool/core/cohort/ResultType.java b/cool-core/src/main/java/com/nus/cool/core/cohort/ResultType.java index 5871edcf..c63e4f4c 100644 --- a/cool-core/src/main/java/com/nus/cool/core/cohort/ResultType.java +++ b/cool-core/src/main/java/com/nus/cool/core/cohort/ResultType.java @@ -3,7 +3,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Enum for result type */ +/** Enum for result type. */ public enum ResultType { FLOAT("FLOAT"), INT("INT"); diff --git a/cool-core/src/test/java/com/nus/cool/functionality/CohortAnalysisTest.java b/cool-core/src/test/java/com/nus/cool/functionality/CohortAnalysisTest.java index 73f824c1..bc30788a 100644 --- a/cool-core/src/test/java/com/nus/cool/functionality/CohortAnalysisTest.java +++ b/cool-core/src/test/java/com/nus/cool/functionality/CohortAnalysisTest.java @@ -5,7 +5,6 @@ import com.nus.cool.core.cohort.ResultType; import com.nus.cool.core.cohort.storage.CohortRet; import com.nus.cool.core.util.ArrayUtil; - import java.io.File; import java.io.IOException; import java.nio.file.Paths;