yes, it was done for this reason, also made more changes in this sample, 
so if all members are owners, then also it would not update

Thanks and Regards,
Swati Singh
_________________________________________________
Software Engineer
India Software Lab, IBM Software Group

email:swati.singh@in.ibm.com 




Manish <notifications@github.com> 
09/16/2013 01:42 PM
Please respond to
OpenNTF/SocialSDK 
<reply@reply.github.com>


To
OpenNTF/SocialSDK <SocialSDK@noreply.github.com>, 
cc
Swati Singh/India/IBM@IBMIN
Subject
Re: [SocialSDK] Community service changes (#502)






In 
samples/j2ee/com.ibm.sbt.sample.web/WebContent/samples/java/Social/Communities/UpdateMember.jsp:
> @@ -43,7 +43,7 @@
>                                String communityId = 
communities.get(0).getCommunityUuid();
> 
>                                MemberList members = 
communityService.getMembers(communityId);
> -                              if(members !=null && members.size()>0){
> +                              if(members !=null && members.size()>1){

I believe you have 1 here to ensure we do not change ownership of owner ?
Could you add a comment ?
—
Reply to this email directly or view it on GitHub.