Internal: adjusted visibility of GetRequest members (from protected to private) and resolved warning
This commit is contained in:
parent
2801d06aee
commit
c2594c0d3b
|
@ -45,10 +45,10 @@ import java.io.IOException;
|
||||||
*/
|
*/
|
||||||
public class GetRequest extends SingleShardOperationRequest<GetRequest> {
|
public class GetRequest extends SingleShardOperationRequest<GetRequest> {
|
||||||
|
|
||||||
protected String type;
|
private String type;
|
||||||
protected String id;
|
private String id;
|
||||||
protected String routing;
|
private String routing;
|
||||||
protected String preference;
|
private String preference;
|
||||||
|
|
||||||
private String[] fields;
|
private String[] fields;
|
||||||
|
|
||||||
|
@ -305,7 +305,7 @@ public class GetRequest extends SingleShardOperationRequest<GetRequest> {
|
||||||
}
|
}
|
||||||
if (realtime == null) {
|
if (realtime == null) {
|
||||||
out.writeByte((byte) -1);
|
out.writeByte((byte) -1);
|
||||||
} else if (realtime == false) {
|
} else if (!realtime) {
|
||||||
out.writeByte((byte) 0);
|
out.writeByte((byte) 0);
|
||||||
} else {
|
} else {
|
||||||
out.writeByte((byte) 1);
|
out.writeByte((byte) 1);
|
||||||
|
|
Loading…
Reference in New Issue