summaryrefslogtreecommitdiff
path: root/pdf-over-gui
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 18:58:32 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 18:58:32 +0000
commit909365a0229ffa247a690f8ec17b9e33132e6e82 (patch)
treea3c10b883c8a17abce4607395b2adb8eb637d3fb /pdf-over-gui
parent96a1a5c9d04238c63247794ad9c76e5a2001b8d0 (diff)
downloadpdf-over-909365a0229ffa247a690f8ec17b9e33132e6e82.tar.gz
pdf-over-909365a0229ffa247a690f8ec17b9e33132e6e82.tar.bz2
pdf-over-909365a0229ffa247a690f8ec17b9e33132e6e82.zip
+Fixed Mobile Number and Password error message on first use
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@62 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
index f63ecf03..f04805a7 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
@@ -175,7 +175,9 @@ public class MobileBKUState extends State {
// check if we have everything we need!
if (mobileStatus.getPhoneNumber() != null
- && mobileStatus.getMobilePassword() != null) {
+ && !mobileStatus.getPhoneNumber().equals("") //$NON-NLS-1$
+ && mobileStatus.getMobilePassword() != null
+ && !mobileStatus.getMobilePassword().equals("")) { //$NON-NLS-1$
// post to bku
Thread postCredentialsThread = new Thread(
new PostCredentialsThread(this));