]> git.mxchange.org Git - jjobs-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Wed, 17 Aug 2016 15:24:36 +0000 (17:24 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 21 Aug 2016 19:44:09 +0000 (21:44 +0200)
- opps, missed to rename this

src/java/org/mxchange/jjobs/beans/helper/JobsWebRequestHelper.java

index cc6bb8f99a2d169b3a7cd5f524ac26ccd0442154..2fe796f20af93fd352e16320e4b6209f4e05eb38 100644 (file)
@@ -166,10 +166,10 @@ public class JobsWebRequestHelper implements JobsWebRequestController {
                } else if (this.getLandLineNumber().getPhoneId() < 1) {
                        // Invalid id number
                        throw new IllegalArgumentException(MessageFormat.format("this.landLineNumber.phoneId={0} is not valid", this.getLandLineNumber().getPhoneId()));
-               } else if (this.getFaxNumber().getPhoneAreaCode()== null) {
+               } else if (this.getLandLineNumber().getPhoneAreaCode()== null) {
                        // Throw again
                        throw new NullPointerException("this.landLineNumber.phoneAreaCode is null");
-               } else if (this.getFaxNumber().getPhoneAreaCode() < 1) {
+               } else if (this.getLandLineNumber().getPhoneAreaCode() < 1) {
                        // Invalid id number
                        throw new IllegalArgumentException(MessageFormat.format("this.landLineNumber.phoneAreaCode={0} is not valid", this.getFaxNumber().getPhoneAreaCode()));
                } else if (this.getLandLineNumber().getPhoneCountry() == null) {