From 85d6301d9bb332955c7430387fc9149224a4b312 Mon Sep 17 00:00:00 2001 From: bspeice Date: Sat, 19 Oct 2013 21:11:39 -0400 Subject: [PATCH] RegistrationClient should be more obvious that it needs an ID --- src/com/uncc/gameday/registration/RegistrationClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/uncc/gameday/registration/RegistrationClient.java b/src/com/uncc/gameday/registration/RegistrationClient.java index 010cb65..b3ddbc6 100644 --- a/src/com/uncc/gameday/registration/RegistrationClient.java +++ b/src/com/uncc/gameday/registration/RegistrationClient.java @@ -45,8 +45,8 @@ public class RegistrationClient { gds.registerUser(a, new AttendeeCallback()); } - public Attendee listAttendee(Attendee a) { - return gds.getUser(a.getId()); + public Attendee listAttendee(int id) { + return gds.getUser(id); } public List listAttendees() {