From 9bfc73803203aa0777ea2c96153a5e3e6b595d9d Mon Sep 17 00:00:00 2001 From: fjy Date: Mon, 14 Apr 2014 16:20:31 -0700 Subject: [PATCH] im deeply saddened but another case sensitivity problem and want to resolve these once and for all --- .../java/io/druid/indexing/common/task/AbstractTask.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indexing-service/src/main/java/io/druid/indexing/common/task/AbstractTask.java b/indexing-service/src/main/java/io/druid/indexing/common/task/AbstractTask.java index eaff1b9b46f..ffbc75d33c4 100644 --- a/indexing-service/src/main/java/io/druid/indexing/common/task/AbstractTask.java +++ b/indexing-service/src/main/java/io/druid/indexing/common/task/AbstractTask.java @@ -61,10 +61,10 @@ public abstract class AbstractTask implements Task protected AbstractTask(String id, String groupId, TaskResource taskResource, String dataSource) { - this.id = Preconditions.checkNotNull(id, "id"); - this.groupId = Preconditions.checkNotNull(groupId, "groupId"); + this.id = Preconditions.checkNotNull(id.toLowerCase(), "id"); + this.groupId = Preconditions.checkNotNull(groupId.toLowerCase(), "groupId"); this.taskResource = Preconditions.checkNotNull(taskResource, "resource"); - this.dataSource = Preconditions.checkNotNull(dataSource, "dataSource"); + this.dataSource = Preconditions.checkNotNull(dataSource.toLowerCase(), "dataSource"); } @JsonProperty