mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
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> {
|
||||
|
||||
protected String type;
|
||||
protected String id;
|
||||
protected String routing;
|
||||
protected String preference;
|
||||
private String type;
|
||||
private String id;
|
||||
private String routing;
|
||||
private String preference;
|
||||
|
||||
private String[] fields;
|
||||
|
||||
@ -305,7 +305,7 @@ public class GetRequest extends SingleShardOperationRequest<GetRequest> {
|
||||
}
|
||||
if (realtime == null) {
|
||||
out.writeByte((byte) -1);
|
||||
} else if (realtime == false) {
|
||||
} else if (!realtime) {
|
||||
out.writeByte((byte) 0);
|
||||
} else {
|
||||
out.writeByte((byte) 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user