From: Roland Häder Date: Sat, 18 Apr 2020 13:44:32 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0928a76f5fa97d6c1c9ab8bf6d4367f1140fc755;p=jphone-core.git Continued: - renamed copyAll() to copyFooData() - renamed copyFoo() to copyFooData() Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jphone/model/phonenumbers/fax/FaxNumbers.java b/src/org/mxchange/jphone/model/phonenumbers/fax/FaxNumbers.java index 9ffdac4..28347fa 100644 --- a/src/org/mxchange/jphone/model/phonenumbers/fax/FaxNumbers.java +++ b/src/org/mxchange/jphone/model/phonenumbers/fax/FaxNumbers.java @@ -37,7 +37,7 @@ public class FaxNumbers implements Serializable { * @param sourceNumber Source number object * @param targetNumber Target number object */ - public static void copyFaxNumber (final DialableFaxNumber sourceNumber, final DialableFaxNumber targetNumber) { + public static void copyFaxNumberData (final DialableFaxNumber sourceNumber, final DialableFaxNumber targetNumber) { // Validate instance if (null == sourceNumber) { // Throw NPE diff --git a/src/org/mxchange/jphone/model/phonenumbers/landline/LandLineNumbers.java b/src/org/mxchange/jphone/model/phonenumbers/landline/LandLineNumbers.java index 59c3fd7..bc92e5c 100644 --- a/src/org/mxchange/jphone/model/phonenumbers/landline/LandLineNumbers.java +++ b/src/org/mxchange/jphone/model/phonenumbers/landline/LandLineNumbers.java @@ -37,7 +37,7 @@ public class LandLineNumbers implements Serializable { * @param sourceNumber Source number object * @param targetNumber Target number object */ - public static void copyLandLineNumber (final DialableLandLineNumber sourceNumber, final DialableLandLineNumber targetNumber) { + public static void copyLandLineNumberData (final DialableLandLineNumber sourceNumber, final DialableLandLineNumber targetNumber) { // Validate instance if (null == sourceNumber) { // Throw NPE diff --git a/src/org/mxchange/jphone/model/phonenumbers/mobile/MobileNumbers.java b/src/org/mxchange/jphone/model/phonenumbers/mobile/MobileNumbers.java index 37764bb..b6c0d5b 100644 --- a/src/org/mxchange/jphone/model/phonenumbers/mobile/MobileNumbers.java +++ b/src/org/mxchange/jphone/model/phonenumbers/mobile/MobileNumbers.java @@ -37,7 +37,7 @@ public class MobileNumbers implements Serializable { * @param sourceNumber Source number object * @param targetNumber Target number object */ - public static void copyMobileNumber (final DialableMobileNumber sourceNumber, final DialableMobileNumber targetNumber) { + public static void copyMobileNumberData (final DialableMobileNumber sourceNumber, final DialableMobileNumber targetNumber) { // Validate instance if (null == sourceNumber) { // Throw NPE diff --git a/src/org/mxchange/jphone/model/phonenumbers/mobileprovider/MobileProviders.java b/src/org/mxchange/jphone/model/phonenumbers/mobileprovider/MobileProviders.java index 5c645af..c64b614 100644 --- a/src/org/mxchange/jphone/model/phonenumbers/mobileprovider/MobileProviders.java +++ b/src/org/mxchange/jphone/model/phonenumbers/mobileprovider/MobileProviders.java @@ -38,7 +38,7 @@ public class MobileProviders implements Serializable { * @param sourceMobileProvider Source mobile provider * @param targetMobileProvider Target mobile provider */ - public static void copyMobileProvider (final MobileProvider sourceMobileProvider, final MobileProvider targetMobileProvider) { + public static void copyMobileProviderData (final MobileProvider sourceMobileProvider, final MobileProvider targetMobileProvider) { // Parameter should not be null if (null == sourceMobileProvider) { // Throw NPE @@ -52,7 +52,7 @@ public class MobileProviders implements Serializable { } // Copy all values - Countries.copyCountry(sourceMobileProvider.getProviderCountry(), targetMobileProvider.getProviderCountry()); + Countries.copyCountryData(sourceMobileProvider.getProviderCountry(), targetMobileProvider.getProviderCountry()); targetMobileProvider.setProviderDialPrefix(sourceMobileProvider.getProviderDialPrefix()); targetMobileProvider.setProviderEntryCreated(sourceMobileProvider.getProviderEntryCreated()); targetMobileProvider.setProviderId(sourceMobileProvider.getProviderId());