question: 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 ; }
target:  compares the two given Strings. Caller is using this to check whether a pool property has changed.