diff options
author | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-08-21 15:59:35 +0000 |
---|---|---|
committer | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-08-21 15:59:35 +0000 |
commit | c463f06a5b321c6b8b3d9029cbd03672c95eec3f (patch) | |
tree | baf82d1a13afdb7e46d4babcd2dfb2d1cc4ca276 | |
parent | 7f03a8799f1d9c17ef0197a3ba458f6ff4437cd2 (diff) | |
download | mocca-c463f06a5b321c6b8b3d9029cbd03672c95eec3f.tar.gz mocca-c463f06a5b321c6b8b3d9029cbd03672c95eec3f.tar.bz2 mocca-c463f06a5b321c6b8b3d9029cbd03672c95eec3f.zip |
PINManagmentRequest, QuitRequest
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@461 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
-rw-r--r-- | BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/PINManagementBKUWorker.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/PINManagementBKUWorker.java b/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/PINManagementBKUWorker.java index d06c2865..5dedcedb 100644 --- a/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/PINManagementBKUWorker.java +++ b/BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/PINManagementBKUWorker.java @@ -53,11 +53,9 @@ public class PINManagementBKUWorker extends AppletBKUWorker { try { - ArrayList<STALRequest> reqs = new ArrayList<STALRequest>(); - reqs.add(new PINManagementRequest()); - reqs.add(new QuitRequest()); - List<STALResponse> responses = handleRequest(reqs); - + List<STALResponse> responses = handleRequest(Collections.singletonList(new PINManagementRequest())); + handleRequest(Collections.singletonList(new QuitRequest())); + if (responses.size() == 1) { STALResponse response = responses.get(0); if (response instanceof PINManagementResponse) { |