From 31b794e4c9a9a5c55043cd327766a01ce80eb8fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garcia=20Nu=C3=B1ez?= Date: Tue, 24 Dec 2019 17:50:56 +0100 Subject: [PATCH] =?UTF-8?q?Correcci=C3=B3n=20de=20nombre=20de=20variable.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MyHealth/src/ejb/common/CommonFacadeBean.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/1.sources/MyHealth/src/ejb/common/CommonFacadeBean.java b/1.sources/MyHealth/src/ejb/common/CommonFacadeBean.java index dfa144c..ff821e9 100644 --- a/1.sources/MyHealth/src/ejb/common/CommonFacadeBean.java +++ b/1.sources/MyHealth/src/ejb/common/CommonFacadeBean.java @@ -481,19 +481,19 @@ public class CommonFacadeBean implements CommonFacadeRemote, CommonFacadeLocal { return qsTO; } - public VisitTO getPOJOforVisitJPA(VisitJPA qs, int nestedProps) { + public VisitTO getPOJOforVisitJPA(VisitJPA vi, int nestedProps) { VisitTO qsTO = null; - if (qs != null) { + if (vi != null) { FamilyDoctorJPA fd = null; PatientJPA pat = null; if (nestedProps > 0) { - fd = qs.getFamilyDoctor(); - pat = qs.getPatient(); + fd = vi.getFamilyDoctor(); + pat = vi.getPatient(); } nestedProps--; - qsTO = new VisitTO(qs.getId(), qs.getDate(), qs.getTime(), qs.getObservations(), qs.getResult(), this.getPOJOforFamilyDoctorJPA(fd, nestedProps), + qsTO = new VisitTO(vi.getId(), vi.getDate(), vi.getTime(), vi.getObservations(), vi.getResult(), this.getPOJOforFamilyDoctorJPA(fd, nestedProps), this.getPOJOforPatientJPA(pat, nestedProps)); }