From: Roland Häder Date: Tue, 16 Aug 2016 10:45:17 +0000 (+0200) Subject: renamed it as well X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=866f751982576f1c7c0e60c603d20a4f4d8afca8;p=jphone-core.git renamed it as well --- diff --git a/src/org/mxchange/jphone/exceptions/PhoneEntityNotFoundException.java b/src/org/mxchange/jphone/exceptions/PhoneEntityNotFoundException.java index 5623c56..776e2f3 100644 --- a/src/org/mxchange/jphone/exceptions/PhoneEntityNotFoundException.java +++ b/src/org/mxchange/jphone/exceptions/PhoneEntityNotFoundException.java @@ -33,12 +33,12 @@ public class PhoneEntityNotFoundException extends Exception { /** * Counstructor with id number and causing exception *

- * @param cellphoneId Id number that has no corresponding entity + * @param phoneId Id number that has no corresponding entity * @param cause Causing exception */ - public PhoneEntityNotFoundException (final Long cellphoneId, final Throwable cause) { + public PhoneEntityNotFoundException (final Long phoneId, final Throwable cause) { // Construct message and call super constructor - super(MessageFormat.format("Cell phone entity with id {0} not found.", cellphoneId), cause); //NOI18N + super(MessageFormat.format("Phone entity with id {0} not found.", phoneId), cause); //NOI18N } } diff --git a/src/org/mxchange/jphone/phonenumbers/mobile/MobileNumber.java b/src/org/mxchange/jphone/phonenumbers/mobile/MobileNumber.java index 49baf19..02f23e2 100644 --- a/src/org/mxchange/jphone/phonenumbers/mobile/MobileNumber.java +++ b/src/org/mxchange/jphone/phonenumbers/mobile/MobileNumber.java @@ -47,7 +47,7 @@ import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider; @NamedQueries ( { @NamedQuery (name = "AllCellphoneNumbers", query = "SELECT c FROM mobile_numbers AS c ORDER BY c.phoneId ASC"), - @NamedQuery (name = "SearchCellphoneId", query = "SELECT c FROM mobile_numbers AS c WHERE c.phoneId = :cellphoneId") + @NamedQuery (name = "SearchMobileNumberId", query = "SELECT c FROM mobile_numbers AS c WHERE c.phoneId = :mobileNumberId") } ) @SuppressWarnings ("PersistenceUnitPresent")