]> git.mxchange.org Git - jjobs-ejb.git/commitdiff
Don't cherry-pick:
authorRoland Häder <roland@mxchange.org>
Thu, 19 Jan 2023 01:20:44 +0000 (02:20 +0100)
committerRoland Häder <roland@mxchange.org>
Thu, 19 Jan 2023 01:20:44 +0000 (02:20 +0100)
- renamed variable
- fixed class name

src/java/org/mxchange/jjobs/enterprise/BaseJobsEnterpriseBean.java
src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java

index 8926e6b3e987fc607cc405537ca8236215c084c3..d67d257fc2e5788086e16c3600713c6214492893 100644 (file)
@@ -753,7 +753,7 @@ public abstract class BaseJobsEnterpriseBean extends BaseEnterpriseBean {
                DialableFaxNumber detachedNumber = null;
 
                // Is there a difference?
-               if (!FaxNumbers.isSameFaxNumber(faxNumber, fetchedNumber)) {
+               if (!FaxNumberUtils.isSameFaxNumber(faxNumber, fetchedNumber)) {
                        // @TODO Copy all to foundNumber, then merge
 
                        // Merge this entry
index d459c7e829e1fd3220d540184317fd87ce21309e..7a4339379b74f79d265a486dbe738ee1b2f5e2d5 100644 (file)
@@ -290,7 +290,7 @@ public class JobsUserSessionBean extends BaseJobsEnterpriseBean implements UserS
                assert (foundUser instanceof User) : MessageFormat.format("User with id {0} not found, but should be.", user.getUserId()); //NOI18N
 
                // Copy all data
-               UserUtils.copyUserData(detachedUser, foundUser);
+               UserUtils.copyUserData(user, foundUser);
 
                // Merge user
                final User managedUser = this.getEntityManager().merge(foundUser);