// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package com.google.sps;

public class MatchNotification extends Notification {

  private static final String NOTIFICATION_TEXT =
    "New match alert! You matched with ";
  
  public MatchNotification(String id, String otherUserId, long timestamp) {
    super(id, otherUserId, timestamp);
  }

  // Method for putting together and returning the text associated
  // with the notification.
  public String getText() {
    User user = new User(otherUserId);
    return NOTIFICATION_TEXT + user.getName();      
  }  
}

@@ -607,16 +607,68 @@
 e.sps;%0A%0A
+import java.util.List;%0Aimport java.util.ArrayList;%0A%0A
 public c
@@ -714,16 +714,48 @@
 tion %7B%0A%0A
+  private List%3CString%3E userIds;%0A
   privat
@@ -955,16 +955,102 @@
 estamp);
+%0A%0A    userIds = new ArrayList%3C%3E(2);%0A    userIds.add(id);%0A    userIds.add(otherUserId);
 %0A  %7D%0A%0A  
@@ -1265,13 +1265,73 @@
     %0A  %7D
-  
+%0A%0A  public List%3CString%3E getUserIds() %7B%0A    return userIds;%0A  %7D
 %0A%7D%0A

Add MatchNotification.getUserIds()