Skip to content

Commit

Permalink
fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
auumgn committed Nov 8, 2024
1 parent d38b3f3 commit 4538fff
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
*/
public class ProfileEmailDomainManagerReadOnlyImpl extends ManagerReadOnlyBaseImpl implements ProfileEmailDomainManagerReadOnly {
@Resource
protected ProfileEmailDomainDao profileEmailDomainDao;
protected ProfileEmailDomainDao profileEmailDomainDaoReadOnly;

public void setProfileEmailDomainDao(ProfileEmailDomainDao profileEmailDomainDao) {
this.profileEmailDomainDao = profileEmailDomainDao;
this.profileEmailDomainDaoReadOnly = profileEmailDomainDao;
}

public List<ProfileEmailDomainEntity> getEmailDomains(String orcid) {
return profileEmailDomainDao.findByOrcid(orcid);
return profileEmailDomainDaoReadOnly.findByOrcid(orcid);
};

public List<ProfileEmailDomainEntity> getPublicEmailDomains(String orcid) {
return profileEmailDomainDao.findPublicEmailDomains(orcid);
return profileEmailDomainDaoReadOnly.findPublicEmailDomains(orcid);
};
}

0 comments on commit 4538fff

Please sign in to comment.