Buggy code:
public class SaveService { private static XStream saver = new XStream ( ) ; private static Logger log = LoggingManager . getLoggerForClass ( ) ; public static final String version = "1.1" ; static String propertiesVersion = "" ; private static final String PROPVERSION = "1.7" ; private static void makeAlias ( String alias , String clazz ) { } private static void initProps ( ) { } public static void saveTree ( HashTree tree , Writer writer ) throws Exception { } public static void saveElement ( Object el , Writer writer ) throws Exception { } public static Object loadElement ( InputStream in ) throws Exception { } public static Object loadElement ( Reader in ) throws Exception { } public static synchronized void saveSampleResult ( SampleResult res , Writer writer ) throws Exception { } public static synchronized void saveTestElement ( TestElement elem , Writer writer ) throws Exception { } static boolean versionsOK = true ; private static final String REVPFX = "$Revision:<seq2seq4repair_space>" ; private static final String REVSFX = "<seq2seq4repair_space>$" ; private static String extractVersion ( String rev ) { } private static void checkVersion ( Class clazz , String expected ) { } private static void checkVersions ( ) { SaveService . versionsOK = true ; SaveService . checkVersion ( BooleanPropertyConverter . class , "1.5" ) ; SaveService . checkVersion ( HashTreeConverter . class , "1.3" ) ; SaveService . checkVersion ( IntegerPropertyConverter . class , "1.4" ) ; SaveService . checkVersion ( LongPropertyConverter . class , "1.4" ) ; SaveService . checkVersion ( MultiPropertyConverter . class , "1.4" ) ; <START_BUG> SaveService . checkVersion ( SampleResultConverter . class , "1.9" ) ; <END_BUG> SaveService . checkVersion ( StringPropertyConverter . class , "1.7" ) ; SaveService . checkVersion ( TestElementConverter . class , "1.4" ) ; SaveService . checkVersion ( TestElementPropertyConverter . class , "1.7" ) ; SaveService . checkVersion ( ScriptWrapperConverter . class , "1.6" ) ; SaveService . checkVersion ( TestResultWrapperConverter . class , "1.5" ) ; if ( ! ( SaveService . PROPVERSION . equalsIgnoreCase ( SaveService . propertiesVersion ) ) ) { SaveService . log . warn ( ( ( ( "Property<seq2seq4repair_space>file<seq2seq4repair_space>-<seq2seq4repair_space>expected<seq2seq4repair_space>" + ( SaveService . PROPVERSION ) ) + ",<seq2seq4repair_space>found<seq2seq4repair_space>" ) + ( SaveService . propertiesVersion ) ) ) ; } if ( SaveService . versionsOK ) { SaveService . log . info ( "All<seq2seq4repair_space>converter<seq2seq4repair_space>versions<seq2seq4repair_space>present<seq2seq4repair_space>and<seq2seq4repair_space>correct" ) ; } } public static TestResultWrapper loadTestResults ( InputStream reader ) throws Exception { } public static HashTree loadTree ( InputStream reader ) throws Exception { } public static boolean isSaveTestPlanFormat20 ( ) { } public static boolean isSaveTestLogFormat20 ( ) { } public static class Test extends JMeterTestCase { public Test ( ) { } public Test ( String name ) { } public void testVersions ( ) throws Exception { } } }

Fix:
SaveService . checkVersion ( SampleResultConverter . class , "1.10" ) ;