public void addContentsOf(
     Tag tag, com.amazon.gallery.framework.data.dao.ChangeList.ChangeType changetype) {
   addModifiedItem(tag);
   addModifiedItem(tag.getType());
   allChangeList.add(tag, changetype);
   ChangeList changelist1 = (ChangeList) changeListMap.get(tag.getType());
   ChangeList changelist = changelist1;
   if (changelist1 == null) {
     changelist = new ChangeList();
     changeListMap.put(tag.getType(), changelist);
   }
   changelist.add(tag, changetype);
 }
 private void addAllChangeList(ChangeList changelist) {
   Set set =
       changelist.getChangeListForType(
           com.amazon.gallery.framework.data.dao.ChangeList.ChangeType.ADDED);
   allChangeList.addAll(set, com.amazon.gallery.framework.data.dao.ChangeList.ChangeType.ADDED);
   set =
       changelist.getChangeListForType(
           com.amazon.gallery.framework.data.dao.ChangeList.ChangeType.MODIFIED);
   allChangeList.addAll(set, com.amazon.gallery.framework.data.dao.ChangeList.ChangeType.MODIFIED);
   changelist =
       changelist.getChangeListForType(
           com.amazon.gallery.framework.data.dao.ChangeList.ChangeType.REMOVED);
   allChangeList.addAll(
       changelist, com.amazon.gallery.framework.data.dao.ChangeList.ChangeType.REMOVED);
 }