diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 18:58:32 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 18:58:32 +0000 |
commit | 909365a0229ffa247a690f8ec17b9e33132e6e82 (patch) | |
tree | a3c10b883c8a17abce4607395b2adb8eb637d3fb /pdf-over-gui/src/main/java/at/asit | |
parent | 96a1a5c9d04238c63247794ad9c76e5a2001b8d0 (diff) | |
download | pdf-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/src/main/java/at/asit')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java | 4 |
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)); |