From 1aa0ae867db710375598e2bf5823e7b75046c40d Mon Sep 17 00:00:00 2001 From: tkellner Date: Mon, 1 Oct 2012 08:30:45 +0000 Subject: +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 --- .../main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)); -- cgit v1.2.3