summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();