]> git.mxchange.org Git - jphone-lib.git/commitdiff
Continued a bit:
authorRoland Haeder <roland@mxchange.org>
Wed, 13 Apr 2016 12:16:22 +0000 (14:16 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 13 Apr 2016 15:30:31 +0000 (17:30 +0200)
- addMobileProvider() should return the updated instance as all other business methods are doing this, too.
- updated jar(s)

lib/jphone-core.jar
src/org/mxchange/jphone/phonenumbers/mobileprovider/AdminMobileProviderSingletonBeanRemote.java

index c1883029d79f5ad202a6e4fab363bba01d28c75d..7a1726a03bf0ecb905d4ae5aa1b7b6aa6cb6a500 100644 (file)
Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ
index c7d3c0de62bf14b4fc7ecbc2dd16c352a9c672bb..d16d0b93f9308695649c770631b4aa414ebd022f 100644 (file)
@@ -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.
         * <p>
         * @param mobileProvider Mobile provider instance
+        * <p>
+        * @return Updated instance
         */
-       void addMobileProvider (final MobileProvider mobileProvider);
+       MobileProvider addMobileProvider (final MobileProvider mobileProvider);
 
 }