diff --git a/caldroid/src/main/java/com/roomorama/caldroid/CaldroidGridAdapter.java b/caldroid/src/main/java/com/roomorama/caldroid/CaldroidGridAdapter.java index 9a0d71a..63c4b4e 100644 --- a/caldroid/src/main/java/com/roomorama/caldroid/CaldroidGridAdapter.java +++ b/caldroid/src/main/java/com/roomorama/caldroid/CaldroidGridAdapter.java @@ -35,8 +35,8 @@ public class CaldroidGridAdapter extends BaseAdapter { // Use internally, to make the search for date faster instead of using // indexOf methods on ArrayList - protected HashMap disableDatesMap = new HashMap(); - protected HashMap selectedDatesMap = new HashMap(); + protected HashMap disableDatesMap = new HashMap<>(); + protected HashMap selectedDatesMap = new HashMap<>(); protected DateTime minDateTime; protected DateTime maxDateTime;