private static boolean mapsDiffer ( Map last , Map attrs ) { if ( last == null ) { return ( attrs != null && attrs . size ( ) > 0 ) ; } return ( ! last . equals ( attrs ) ) ; }
Returns true if the attributes specified in last and attrs differ .