Class EqualityUtil

java.lang.Object
com.atlassian.crowd.util.EqualityUtil

public final class EqualityUtil extends Object
  • Method Details

    • different

      public static boolean different(String remoteString, String internalString)
      Returns true if the two input Strings are different values, where null and empty String are considered equal.

      The remoteString argument is filtered through InternalEntityUtils.truncateValue(String) before comparison.

      Parameters:
      remoteString - remote directory value
      internalString - internal directory value
      Returns:
      true if the two input Strings are different values.