question: public boolean compare ( Object expected , Object current ) { if ( current != null ) { equal = current . equals ( expected ) ; } else if ( expected != null ) { equal = expected . equals ( 1.0 ) ; } return equal ; }
target:  This is used to compare the expected and current versions of the class. Once compared the comparison result is cached within the revision class so that it can be used repeatedly.