From: Roland Haeder Date: Wed, 13 Apr 2016 12:16:22 +0000 (+0200) Subject: Continued a bit: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=27e80e44ba954f70a922d511d56e853c5c66c750;p=jphone-lib.git Continued a bit: - addMobileProvider() should return the updated instance as all other business methods are doing this, too. - updated jar(s) --- diff --git a/lib/jphone-core.jar b/lib/jphone-core.jar index c188302..7a1726a 100644 Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ diff --git a/src/org/mxchange/jphone/phonenumbers/mobileprovider/AdminMobileProviderSingletonBeanRemote.java b/src/org/mxchange/jphone/phonenumbers/mobileprovider/AdminMobileProviderSingletonBeanRemote.java index c7d3c0d..d16d0b9 100644 --- a/src/org/mxchange/jphone/phonenumbers/mobileprovider/AdminMobileProviderSingletonBeanRemote.java +++ b/src/org/mxchange/jphone/phonenumbers/mobileprovider/AdminMobileProviderSingletonBeanRemote.java @@ -31,10 +31,12 @@ public interface AdminMobileProviderSingletonBeanRemote extends Serializable { /** * Adds given mobile provider to database if not already added. If the * providers dial prefix and country combination is found an exception is - * thrown. + * thrown. An updated instance is returned on success. *

* @param mobileProvider Mobile provider instance + *

+ * @return Updated instance */ - void addMobileProvider (final MobileProvider mobileProvider); + MobileProvider addMobileProvider (final MobileProvider mobileProvider); }