From 909365a0229ffa247a690f8ec17b9e33132e6e82 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 18:58:32 +0000 Subject: +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 --- .../main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pdf-over-gui/src/main/java') 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)); -- cgit v1.2.3