fix setters for hadoop node

This commit is contained in:
Fangjin Yang 2012-11-05 18:40:54 -08:00
parent 2ae0a15b5a
commit eb2b5a61fa
1 changed files with 4 additions and 2 deletions

View File

@ -119,14 +119,16 @@ public class HadoopDruidIndexerNode
return argumentSpec;
}
public void setIntervalSpec(String intervalSpec)
public HadoopDruidIndexerNode setIntervalSpec(String intervalSpec)
{
this.intervalSpec = intervalSpec;
return this;
}
public void setArgumentSpec(String argumentSpec)
public HadoopDruidIndexerNode setArgumentSpec(String argumentSpec)
{
this.argumentSpec = argumentSpec;
return this;
}
@SuppressWarnings("unchecked")