summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-gui
diff options
context:
space:
mode:
authortkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-10-01 08:30:45 +0000
committertkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-10-01 08:30:45 +0000
commit1aa0ae867db710375598e2bf5823e7b75046c40d (patch)
tree0587ae5f11fa10cf8588130810132f6c79ab2992 /trunk/pdf-over-gui
parent89ac04963c6781065a5342e219396bbd73bdf6e9 (diff)
downloadpdf-over-1aa0ae867db710375598e2bf5823e7b75046c40d.tar.gz
pdf-over-1aa0ae867db710375598e2bf5823e7b75046c40d.tar.bz2
pdf-over-1aa0ae867db710375598e2bf5823e7b75046c40d.zip
+Fixed Mobile Number and Password error message on first use
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12543 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over-gui')
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
index f63ecf03..f04805a7 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
+++ b/trunk/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));