File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/com/arangodb/entity Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2323import com .arangodb .velocypack .VPackSlice ;
2424
2525import java .util .Collection ;
26+ import java .util .Collections ;
2627import java .util .Map ;
2728
2829/**
@@ -34,7 +35,7 @@ public class CursorEntity implements Entity, MetaAware {
3435
3536 private String id ;
3637 private Integer count ;
37- private Extras extra ;
38+ private Extras extra = new Extras () ;
3839 private Boolean cached ;
3940 private Boolean hasMore ;
4041 private VPackSlice result ;
@@ -120,7 +121,7 @@ public String getMessage() {
120121
121122 public static class Extras {
122123 private Stats stats ;
123- private Collection <Warning > warnings ;
124+ private Collection <Warning > warnings = Collections . emptyList () ;
124125
125126 public Stats getStats () {
126127 return stats ;
You can’t perform that action at this time.
0 commit comments