public boolean normalizeReminders(){
  if (mReminders.size() <= 1) {
    return true;
  }
  Collections.sort(mReminders);
  ReminderEntry prev=mReminders.get(mReminders.size() - 1);
  for (int i=mReminders.size() - 2; i >= 0; --i) {
    ReminderEntry cur=mReminders.get(i);
    if (prev.equals(cur)) {
      mReminders.remove(i + 1);
    }
    prev=cur;
  }
  return true;
}

public boolean normalizeReminders ( ) { if ( mReminders . size ( ) <= 1 ) { return true ; } Collections . sort ( mReminders ) ; ReminderEntry prev = mReminders . get ( mReminders . size ( ) - 1 ) ; for ( int i = mReminders . size ( ) - 2 ; i >= 0 ; -- i ) { ReminderEntry cur = mReminders . get ( i ) ; if ( prev . equals ( cur ) ) { mReminders . remove ( i + 1 ) ; } prev = cur ; } return true ; }
sort and uniquify mreminderminutes .
