fix compile

This commit is contained in:
fjy 2014-09-30 16:56:44 -07:00
parent d9453f29f1
commit a0782d4c54
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@
package io.druid.indexing.common.config; package io.druid.indexing.common.config;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
@ -30,6 +31,7 @@ public class FileTaskLogsConfig
@NotNull @NotNull
private File directory = new File("log"); private File directory = new File("log");
@JsonCreator
public FileTaskLogsConfig(File directory) public FileTaskLogsConfig(File directory)
{ {
this.directory = directory; this.directory = directory;