Buggy code:
public class JMeterUtils implements UnitTestManager { private static PatternCacheLRU patternCache = new PatternCacheLRU ( 1000 , new Perl5Compiler ( ) ) ; private static transient Logger log = LoggingManager . getLoggerForClass ( ) ; private static final String EXPERT_MODE_PROPERTY = "jmeter.expertMode" ; private static Properties appProperties ; private static Vector localeChangeListeners = new Vector ( ) ; private static Locale locale ; private static ResourceBundle resources ; private static ThreadLocal localMatcher = new ThreadLocal ( ) { protected Object initialValue ( ) { } } ; private static Random rand = new Random ( ) ; public static Perl5Matcher getMatcher ( ) { } public static Properties getProperties ( String file ) { } public static PatternCacheLRU getPatternCache ( ) { } public void initializeProperties ( String file ) { } public static String [ ] getSearchPaths ( ) { } public static int getRandomInt ( int r ) { } public static void setLocale ( Locale loc ) { } public static Locale getLocale ( ) { } public static void addLocaleChangeListener ( LocaleChangeListener listener ) { } public static void removeLocaleChangeListener ( LocaleChangeListener listener ) { } private static void notifyLocaleChangeListeners ( ) { } public static String getResString ( String key ) { } public static final String RES_KEY_PFX = "[res_key=" ; public static String getResString ( String key , String defaultValue ) { } private static String getResStringDefault ( String key , String defaultValue ) { if ( key == null ) { return null ; } key = key . replace ( '<seq2seq4repair_space>' , '_' ) ; key = key . toLowerCase ( ) ; String resString = null ; try { resString = JMeterUtils . resources . getString ( key ) ; } catch ( MissingResourceException mre ) { <START_BUG> JMeterUtils . log . warn ( ( ( "ERROR!<seq2seq4repair_space>Resource<seq2seq4repair_space>string<seq2seq4repair_space>not<seq2seq4repair_space>found:<seq2seq4repair_space>[" + key ) + "]" ) ) ; <END_BUG> resString = defaultValue ; } return resString ; } public static Properties getJMeterProperties ( ) { } public static ImageIcon getImage ( String name ) { } public static String getResourceFileAsText ( String name ) { } public static Vector getTimers ( Properties properties ) { } public static Vector getVisualizers ( Properties properties ) { } public static Vector getControllers ( Properties properties ) { } public static String [ ] getTestSamples ( Properties properties , String name ) { } public static XMLReader getXMLParser ( Properties properties ) { } public static XMLReader getXMLParser ( ) { } public static Hashtable getAlias ( Properties properties ) { } public static Vector getVector ( Properties properties , String name ) { } public static Hashtable getHashtable ( Properties properties , String name ) { } public static int getPropDefault ( String propName , int defaultVal ) { } public static boolean getPropDefault ( String propName , boolean defaultVal ) { } public static long getPropDefault ( String propName , long defaultVal ) { } public static String getPropDefault ( String propName , String defaultVal ) { } public static String getProperty ( String propName ) { } public static Object setProperty ( String propName , String propValue ) { } public static void selJComboBoxItem ( Properties properties , JComboBox combo , Vector namVec , String name ) { } public static Object instantiate ( String className , String impls ) { } public static Vector instantiate ( Vector v , String className ) { } public static Vector tokenize ( String string , String separator ) { } public static JButton createButton ( String name , ActionListener listener ) { } public static JButton createSimpleButton ( String name , ActionListener listener ) { } public static String [ ] split ( String splittee , String splitChar , String def ) { } public static void reportErrorToUser ( String errorMsg ) { } public static int findInArray ( String [ ] array , String value ) { } public static String unsplit ( Object [ ] splittee , Object splitChar ) { } public static String unsplit ( Object [ ] splittee , Object splitChar , String def ) { } public static String getJMeterHome ( ) { } public static void setJMeterHome ( String home ) { } private static String jmDir ; public static final String JMETER = "jmeter" ; public static final String ENGINE = "jmeter.engine" ; public static final String ELEMENTS = "jmeter.elements" ; public static final String GUI = "jmeter.gui" ; public static final String UTIL = "jmeter.util" ; public static final String CLASSFINDER = "jmeter.util.classfinder" ; public static final String TEST = "jmeter.test" ; public static final String HTTP = "jmeter.protocol.http" ; public static final String JDBC = "jmeter.protocol.jdbc" ; public static final String FTP = "jmeter.protocol.ftp" ; public static final String JAVA = "jmeter.protocol.java" ; public static final String PROPERTIES = "jmeter.elements.properties" ; public static String getJMeterVersion ( ) { } public static String getJMeterCopyright ( ) { } public static String getExtendedFrameTitle ( String fname ) { } public static boolean isExpertMode ( ) { } }

Fix:
JMeterUtils . log . warn ( ( ( "ERROR!<seq2seq4repair_space>Resource<seq2seq4repair_space>string<seq2seq4repair_space>not<seq2seq4repair_space>found:<seq2seq4repair_space>[" + key ) + "]" ) , mre ) ;