From 27e80e44ba954f70a922d511d56e853c5c66c750 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 13 Apr 2016 14:16:22 +0200 Subject: [PATCH] Continued a bit: - addMobileProvider() should return the updated instance as all other business methods are doing this, too. - updated jar(s) --- lib/jphone-core.jar | Bin 24465 -> 27773 bytes ...dminMobileProviderSingletonBeanRemote.java | 6 ++++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/jphone-core.jar b/lib/jphone-core.jar index c1883029d79f5ad202a6e4fab363bba01d28c75d..7a1726a03bf0ecb905d4ae5aa1b7b6aa6cb6a500 100644 GIT binary patch delta 3832 zcmb6cZA@F&_1x!=hd(g3F*eu)%vS<7U;<4O0)>FVgcutrTNFdm)WMI$9Wklx5K>AY zt+KVNqLtiktGc#nq-AQ8NZCYalT=Nzty$MhovKWm)^5_)ZQ74%=^ANLx2c_W?tKPh zmsP~lyC3JCd%n-P$Me_8=f5Sn1Ac{43y=eF>zR}Dxz&nyaoTcP@iUx0EalT@)oh|0 zh{uHUc3AOq(0>q{MVgdi$%H3OilJW>stTp4QRz@JIuXl043Sn&^LgUq^G9SGpDTrK zK9382K3^5K8W_({zY=_{ngCQ2+Fx%Eq!@NY4n|`gk%$xtOzew}O9SzV$!J81cQbkF zN5{j7#I65cy@v8Oflh=R5i}xb30U__$@DdPqi~=>J2Y`PJ}UW;3W4%3C;UiwGEDE@ zZ>wC37_>#T*-exLl%PUE2&i!sK+G`K_OmyCF*m3H7*sI*dR7w7RE>+hntml(v{u-%e@G~ zk2sDIM*~s=@VJp=9TKPq6K<_CI+DxB9bV*Q36irw0V7HW`m7FiU5z_{Mt)1r*D7|4 z{#a$@`Sz6k?Y^5z0QT)*`8K;Et+I?e9+$$Aqh1`7Qlxt+`?6ADQx1;~9jt>AHk7i# zsY9!jYoP)vwJ2^5B`SnylNN` zADu5NXuelTF{lg&SuV2(oy`a)*VdD_&k5_KX}>!Ai*dT>Ln9(`Xg zf=3Sx;1Xe@9zEKm2P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3lN^__VQzPVbh%_T3I47n^M7pv(@BeDl~?{Nrqn;EfFb*1#p zJu-{;5vptEEQ}A;a0g~Qni-}r_j1J48~WlyW{#hcdKvf|hg0}06J_KRmtK9~4)(_E XYtBHvy$8d{YhYD+s?fYkm9mrZSFny{_gMm z&b{Z|ci!V4g~%-neF4;JV@nck%O2ec-R#03Ol$piDle2 zh$Y;PiMuScz8hBkwqPV{6E+*ntKu+?EmA)7iOv`wihOWY30e6dCH-?1xsx#^aO6bR zS7tuQ-}aM=tjp6VJe2kPLCa|cfVJ}FP}p3Nz9$j-^^gdMS@$OEju^lO{j58xg8>5} z#}YsX#|&^B2HA9oO^4WMn2m6R#GBY0QggRA!*aJSAkrLYl2z*3aAq9rfen2907gSPTPS^`%1rH6h z6k7WvmVtZpk!nBJm${Z!)yMX_je~Kn8xZ#~Xr;@p+n}p*-hg=b*Ps_*3JhZmCM1Cn zIR-HjVtRsTE>mcUpKdG2G(Jja9AMW0tn}DzFbv6Xg3j_bxZordz$qw%cc2R1)j&0j zpuRrvQv4K{n|COQjyG7u)e|G1I9QC;89YM~BcQ-pcovYd^gdp!&&9=nML37^^=`~> zv}ix1eT<{OF$qf>Hdw_kRwUwhA}(TYgWE2y&DUq-b%}e;l9#g9>k2NCm$KIDI(bF8 zS6yHO&NoI(UuZ?=3lsqz*>&ReG*-=2mYYT3qtkVE`6g~N1kyd6sC0k2JX{|=e~ zSj&mgxUhbSY-Ado9RJ?>f+JKrSSyPm(|u$49`&ZK1f1UI5Vt+Q1ncpWLeq*)%vT{s zr>KY=wo(~PIvZ9q5_1=0xSndx9ZE9cAD#T$gyyhAoUK_(zl_T3$#%a_8^_$9p?{|i IKnbwfKjZM+Bme*a 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); } -- 2.39.5