public void appendRecentLocation(String location) {
   if (StringUtils.isBlank(location) == true) {
     return;
   }
   ensureRecentLocations();
   recentLocations.setMaxSize(
       MAX_RECENT); // Needed, because max size will be set via xstream deserialization.
   recentLocations.append(location);
 }
 public void appendRecentTask(Integer taskId) {
   if (taskId == null) {
     return;
   }
   ensureRecentTasks();
   recentTasks.setMaxSize(
       MAX_RECENT); // Needed, because max size will be set via xstream deserialization.
   recentTasks.append(taskId);
 }
 public void appendRecentEntry(TimesheetPrefEntry entry) {
   ensureRecents();
   recents.setMaxSize(MAX_RECENT); // Needed, because size will be set via xstream deserialization.
   recents.append(entry);
 }