make ctors protected (#19831)
This is useful if we need an acknowledged instance in a test
This commit is contained in:
parent
8bebf2599e
commit
899cddefb6
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue