From 6832887c317048b3456e5a6d9d3cf584bd966a73 Mon Sep 17 00:00:00 2001 From: tkellner Date: Tue, 13 Mar 2012 19:59:31 +0000 Subject: Reset actionPerformed flag in BKUWorker Fixes [MOCCA-784] git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1028 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractBKUWorker.java | 3 ++- smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractBKUWorker.java b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractBKUWorker.java index cce30287..daffa394 100644 --- a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractBKUWorker.java +++ b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractBKUWorker.java @@ -118,7 +118,8 @@ public abstract class AbstractBKUWorker extends AbstractSMCCSTAL implements Acti actionCommandList.clear(); actionCommandList.add("cancel"); // while no sigcard found or cancel button pressed - int oldValue = SMCCHelper.PC_SC_NOT_SUPPORTED; // this is a save default + int oldValue = SMCCHelper.PC_SC_NOT_SUPPORTED; // this is a safe default + actionPerformed = false; while ((signatureCard == null) && (!actionPerformed)) { switch (smccHelper.getResultCode()) { case SMCCHelper.PC_SC_NOT_SUPPORTED: diff --git a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java index 54a30035..830ec8cb 100644 --- a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java +++ b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java @@ -65,7 +65,7 @@ public abstract class AbstractSMCCSTAL implements STAL { /** * Implementations must assign the signature card within this method. * - * @return if the user canceled + * @return whether the user canceled */ protected abstract boolean waitForCard(); -- cgit v1.2.3