package us.mikeandwan.photos.models;

import java.util.List;

public class ApiCollection<T> {
    private long _count;
    private List<T> _items;

    public long getCount() { return _count; }
    public void setCount(long count) { _count = count; }

    public List<T> getItems() { return _items; }
    public void setItems(List<T> items) { _items = items; }
}

@@ -31,16 +31,44 @@
 odels;%0A%0A
+import java.util.ArrayList;%0A
 import j
@@ -166,16 +166,36 @@
 %3E _items
+ = new ArrayList%3C%3E()
 ;%0A%0A    p

initialize an empty list to avoid potential null refs