components/src/main/java/eu/internetofus/common/components/models/CommunityMember.java
/**
   * Check if two community member practices are equivalent by its identifier
   * fields.
   *
   * @param a first model to compare.
   * @param b second model to compare.
   *
   * @return {@code true} if the community members can be considered equals by its
   *         identifier.
   */
Check if two community member practices are equivalent by its identifier
fields.

@param a first model to compare.
@param b second model to compare.

@return  true if the community members can be considered equals by its
identifier.
Check if two community member practices are equivalent by its identifier fields . @param a first model to compare . @param b second model to compare . @return true if the community members can be considered equals by its identifier .
public static boolean compareIds(final CommunityMember a, final CommunityMember b) {
    return a != null && a.userId != null && a.userId.equals(b.userId);
  }
public static boolean compareIds ( final CommunityMember a , final CommunityMember b ) { return a != null && a . userId != null && a . userId . equals ( b . userId ) ; }
Check if two community member practices are equivalent by its identifier
 fields.
Check if two community member practices are equivalent by its identifier fields .