im deeply saddened but another case sensitivity problem and want to resolve these once and for all

This commit is contained in:
fjy 2014-04-14 16:20:31 -07:00
parent db5f04c84d
commit 9bfc738032
1 changed files with 3 additions and 3 deletions

View File

@ -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