From c463f06a5b321c6b8b3d9029cbd03672c95eec3f Mon Sep 17 00:00:00 2001 From: clemenso Date: Fri, 21 Aug 2009 15:59:35 +0000 Subject: PINManagmentRequest, QuitRequest git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@461 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../java/at/gv/egiz/bku/online/applet/PINManagementBKUWorker.java | 8 +++----- 1 file 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 reqs = new ArrayList(); - reqs.add(new PINManagementRequest()); - reqs.add(new QuitRequest()); - List responses = handleRequest(reqs); - + List responses = handleRequest(Collections.singletonList(new PINManagementRequest())); + handleRequest(Collections.singletonList(new QuitRequest())); + if (responses.size() == 1) { STALResponse response = responses.get(0); if (response instanceof PINManagementResponse) { -- cgit v1.2.3