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

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