public static boolean checkPoolPropertiesChanged(String existingValue,String newValue){
  boolean propertyChanged=false;
  if ((existingValue == null && newValue != null) || (existingValue != null && newValue == null)) {
    propertyChanged=true;
  }
 else   if (existingValue != null && newValue != null) {
    if (existingValue.compareToIgnoreCase(newValue) != 0) {
      propertyChanged=true;
    }
  }
  return propertyChanged;
}

public static boolean checkPoolPropertiesChanged ( String existingValue , String newValue ) { boolean propertyChanged = false ; if ( ( existingValue == null && newValue != null ) || ( existingValue != null && newValue == null ) ) { propertyChanged = true ; } else if ( existingValue != null && newValue != null ) { if ( existingValue . compareToIgnoreCase ( newValue ) != 0 ) { propertyChanged = true ; } } return propertyChanged ; }
compares the two given strings . caller is using this to check whether a pool property has changed .
