set default version if one is not set

This commit is contained in:
Fangjin Yang 2012-11-06 12:36:55 -08:00
parent 34a221a586
commit 0b6dd99452
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ public class HadoopDruidIndexerConfig
public void setVersion(DateTime version)
{
this.version = version;
this.version = version == null ? new DateTime() : version;
}
@JsonProperty