From a0782d4c5454c55852d087b87f8af4b270cd5083 Mon Sep 17 00:00:00 2001 From: fjy Date: Tue, 30 Sep 2014 16:56:44 -0700 Subject: [PATCH] fix compile --- .../io/druid/indexing/common/config/FileTaskLogsConfig.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indexing-service/src/main/java/io/druid/indexing/common/config/FileTaskLogsConfig.java b/indexing-service/src/main/java/io/druid/indexing/common/config/FileTaskLogsConfig.java index d1add268faa..8228bda465a 100644 --- a/indexing-service/src/main/java/io/druid/indexing/common/config/FileTaskLogsConfig.java +++ b/indexing-service/src/main/java/io/druid/indexing/common/config/FileTaskLogsConfig.java @@ -19,6 +19,7 @@ package io.druid.indexing.common.config; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import javax.validation.constraints.NotNull; @@ -30,6 +31,7 @@ public class FileTaskLogsConfig @NotNull private File directory = new File("log"); + @JsonCreator public FileTaskLogsConfig(File directory) { this.directory = directory;