Shashikanth VH

Bug fix in persistent set add item.

Change-Id: I0de6b27152b4384617689a1db05d9606baf79ec0
...@@ -112,7 +112,7 @@ public class PersistentSet<E> implements Set<E> { ...@@ -112,7 +112,7 @@ public class PersistentSet<E> implements Set<E> {
112 112
113 @Override 113 @Override
114 public boolean add(E item) { 114 public boolean add(E item) {
115 - checkNotNull("Item to be added cannot be null."); 115 + checkNotNull(item, "Item to be added cannot be null.");
116 return items.add(serializer.encode(item)); 116 return items.add(serializer.encode(item));
117 } 117 }
118 118
......