Beispiel #1
0
 public boolean setLocations(DefaultIssue issue, @Nullable Object locations) {
   if (!Objects.equal(locations, issue.getLocations())) {
     issue.setLocations(locations);
     issue.setChanged(true);
     return true;
   }
   return false;
 }
Beispiel #2
0
 public boolean setPastLocations(DefaultIssue issue, @Nullable Object previousLocations) {
   Object currentLocations = issue.getLocations();
   issue.setLocations(previousLocations);
   return setLocations(issue, currentLocations);
 }