summaryrefslogtreecommitdiff
path: root/BKUAppletExt/src/main/java/at/gv
diff options
context:
space:
mode:
Diffstat (limited to 'BKUAppletExt/src/main/java/at/gv')
-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) {