Skip to content

Commit

Permalink
NORELEASE for getWriteableName in aggregations base class
Browse files Browse the repository at this point in the history
  • Loading branch information
nik9000 committed Apr 14, 2016
1 parent f095e64 commit 9080f51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ public final XContentBuilder toXContent(XContentBuilder builder, Params params)

@Override
public String getWriteableName() {
// NORELEASE remove this before 5.0.0GA - all builders will implement this method on their own.
return type.stream().toUtf8();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,8 @@ protected HistogramAggregatorFactory innerBuild(AggregationContext context, Valu
parent, subFactoriesBuilder, metaData);
}

@Override
public String getWriteableName() {
return NAME;
}
}

0 comments on commit 9080f51

Please sign in to comment.