src/main/java/org/jboss/seam/examples/seamcrm/aaa/AuditTools.java
public static boolean isChanged(String o, String n)
    {

        o = StringTools.normalize(o);
        n = StringTools.normalize(n);

        if (base(o, n) != null)
        {
            return base(o, n);
        }
        else
        {
            return !o.equals(n);
        }
    }
/**
     * Null Safe check to see if Strings are different
     * 
     * @param o Original Value
     * @param n New Value
     * @return
     */
Null Safe check to see if Strings are different

@param o Original Value
@param n New Value
@return
Null Safe check to see if Strings are different @param o Original Value @param n New Value @return
public static boolean isChanged(String o, String n)
    {
        o = StringTools.normalize(o);
        n = StringTools.normalize(n);
        if (base(o, n) != null)
        {
            return base(o, n);
        }
        else
        {
            return !o.equals(n);
        }
    }
public static boolean isChanged ( String o , String n ) { o = StringTools . normalize ( o ) ; n = StringTools . normalize ( n ) ; if ( base ( o , n ) != null ) { return base ( o , n ) ; } else { return ! o . equals ( n ) ; } }
Null Safe check to see if Strings are different
Null Safe check to see if Strings are different