summaryrefslogtreecommitdiff
path: root/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-03-13 19:59:31 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-03-13 19:59:31 +0000
commit6832887c317048b3456e5a6d9d3cf584bd966a73 (patch)
tree5a8c33ded6805566649f450bfbd7acce2aaf9c0d /smccSTAL/src/main/java/at/gv/egiz/bku/smccstal
parentda42633b63a6ee01347656f4d51c694594f14448 (diff)
downloadmocca-6832887c317048b3456e5a6d9d3cf584bd966a73.tar.gz
mocca-6832887c317048b3456e5a6d9d3cf584bd966a73.tar.bz2
mocca-6832887c317048b3456e5a6d9d3cf584bd966a73.zip
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
Diffstat (limited to 'smccSTAL/src/main/java/at/gv/egiz/bku/smccstal')
-rw-r--r--smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractBKUWorker.java3
-rw-r--r--smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java2
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();