summaryrefslogtreecommitdiff
path: root/BKUAppletExt/src/main
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-08-21 15:59:35 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-08-21 15:59:35 +0000
commitc463f06a5b321c6b8b3d9029cbd03672c95eec3f (patch)
treebaf82d1a13afdb7e46d4babcd2dfb2d1cc4ca276 /BKUAppletExt/src/main
parent7f03a8799f1d9c17ef0197a3ba458f6ff4437cd2 (diff)
downloadmocca-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
Diffstat (limited to 'BKUAppletExt/src/main')
-rw-r--r--BKUAppletExt/src/main/java/at/gv/egiz/bku/online/applet/PINManagementBKUWorker.java8
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) {