mirror of https://github.com/apache/druid.git
fix compile
This commit is contained in:
parent
d9453f29f1
commit
a0782d4c54
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue