make ctors protected (#19831)

This is useful if we need an acknowledged instance in a test
This commit is contained in:
Britta Weber 2016-08-05 17:13:26 +02:00 committed by GitHub
parent 8bebf2599e
commit 899cddefb6
2 changed files with 4 additions and 4 deletions

View File

@ -30,11 +30,11 @@ import java.io.IOException;
*/
public class PutMappingResponse extends AcknowledgedResponse {
PutMappingResponse() {
protected PutMappingResponse() {
}
PutMappingResponse(boolean acknowledged) {
protected PutMappingResponse(boolean acknowledged) {
super(acknowledged);
}

View File

@ -29,10 +29,10 @@ import java.io.IOException;
*/
public class PutIndexTemplateResponse extends AcknowledgedResponse {
PutIndexTemplateResponse() {
protected PutIndexTemplateResponse() {
}
PutIndexTemplateResponse(boolean acknowledged) {
protected PutIndexTemplateResponse(boolean acknowledged) {
super(acknowledged);
}