RegistrationClient should be more obvious that it needs an ID

This commit is contained in:
bspeice 2013-10-19 21:11:39 -04:00
parent be332e794c
commit 85d6301d9b

View File

@ -45,8 +45,8 @@ public class RegistrationClient {
gds.registerUser(a, new AttendeeCallback()); gds.registerUser(a, new AttendeeCallback());
} }
public Attendee listAttendee(Attendee a) { public Attendee listAttendee(int id) {
return gds.getUser(a.getId()); return gds.getUser(id);
} }
public List<Attendee> listAttendees() { public List<Attendee> listAttendees() {