public void setExpirations(List<Expiration> expirations) {
    if (expirations == null) {
      this.expirations = null;
      return;
    }
    this.expirations = expirations.stream().filter(Objects::nonNull).collect(Collectors.toList());
  }
@return the redundant copies of a region
geode-management/src/main/java/org/apache/geode/management/configuration/Region.java