Skip to content

Commit 3b95c9c

Browse files
author
Osman Currim
committed
remove default for cached flag
1 parent 31f728e commit 3b95c9c

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

src/main/java/com/groupbyinc/api/model/ResultsMetadata.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88
public class ResultsMetadata {
99

10-
private boolean cached = false;
10+
private boolean cached;
1111
private boolean recordLimitReached;
1212
private long totalTime;
1313

@@ -36,11 +36,15 @@ public ResultsMetadata setTotalTime(long totalTime) {
3636
return this;
3737
}
3838

39-
public boolean isCached(){
39+
/**
40+
*
41+
* @return true if the query was cached, false otherwise
42+
*/
43+
public boolean isCached() {
4044
return cached;
4145
}
4246

43-
public ResultsMetadata setCached(boolean cached){
47+
public ResultsMetadata setCached(boolean cached) {
4448
this.cached = cached;
4549
return this;
4650
}

0 commit comments

Comments
 (0)