Buggy code:
public class ConfigLoader { private static Logger _Log = Logger . getLogger ( "org.argouml.util.ConfigLoader" ) ; public static String TabPath = "org.argouml" ; private static Orientation tabPropsOrientation ; public static Orientation getTabPropsOrientation ( ) { } public static void loadTabs ( Vector tabs , String panelName , Orientation orientation ) { String position = null ; if ( ( ( ( ( ( ( ( panelName . equals ( "north" ) ) || ( panelName . equals ( "south" ) ) ) || ( panelName . equals ( "west" ) ) ) || ( panelName . equals ( "east" ) ) ) || ( panelName . equals ( "northwest" ) ) ) || ( panelName . equals ( "northeast" ) ) ) || ( panelName . equals ( "southwest" ) ) ) || ( panelName . equals ( "southeast" ) ) ) { position = panelName ; panelName = "detail" ; } InputStream is = null ; LineNumberReader lnr = null ; String configFile = System . getProperty ( "argo.config" ) ; if ( configFile != null ) { try { is = new FileInputStream ( configFile ) ; } catch ( FileNotFoundException e ) { is = ConfigLoader . class . getResourceAsStream ( configFile ) ; if ( is != null ) { ConfigLoader . _Log . info ( ( ( "Value<seq2seq4repair_space>of<seq2seq4repair_space>argo.config<seq2seq4repair_space>(" + configFile ) + ")<seq2seq4repair_space>could<seq2seq4repair_space>not<seq2seq4repair_space>be<seq2seq4repair_space>loaded.\nLoading<seq2seq4repair_space>default<seq2seq4repair_space>configuration." ) ) ; } } } if ( is == null ) { configFile = "//org//argouml//argo.ini" ; is = ConfigLoader . class . getResourceAsStream ( configFile ) ; } if ( is != null ) { lnr = new LineNumberReader ( new InputStreamReader ( is ) ) ; if ( lnr != null ) { try { String line = lnr . readLine ( ) ; while ( line != null ) { Class tabClass = ConfigLoader . parseConfigLine ( line , panelName , lnr . getLineNumber ( ) , configFile ) ; if ( tabClass != null ) { try { String className = tabClass . getName ( ) ; String shortClassName = className . substring ( ( ( className . lastIndexOf ( '.' ) ) + 1 ) ) . toLowerCase ( ) ; ConfigurationKey key = Configuration . makeKey ( "layout" , shortClassName ) ; <START_BUG> if ( ( position == null ) || ( position . equals ( Configuration . getString ( key , "south" ) ) ) ) { <END_BUG> if ( className . equals ( "org.argouml.uml.ui.TabProps" ) ) { ConfigLoader . tabPropsOrientation = orientation ; } Object newTab = tabClass . newInstance ( ) ; tabs . addElement ( newTab ) ; } } catch ( InstantiationException ex ) { ConfigLoader . _Log . error ( ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>make<seq2seq4repair_space>instance<seq2seq4repair_space>of<seq2seq4repair_space>" + ( tabClass . getName ( ) ) ) ) ; } catch ( IllegalAccessException ex ) { ConfigLoader . _Log . error ( ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>make<seq2seq4repair_space>instance<seq2seq4repair_space>of<seq2seq4repair_space>" + ( tabClass . getName ( ) ) ) ) ; } } line = lnr . readLine ( ) ; } } catch ( IOException io ) { ConfigLoader . _Log . error ( io ) ; } } else { ConfigLoader . _Log . error ( "lnr<seq2seq4repair_space>is<seq2seq4repair_space>null" ) ; } } } public static Class parseConfigLine ( String line , String panelName , int lineNum , String configFile ) { } public static String stripBeforeColon ( String s ) { } }

Fix:
if ( ( position == null ) || ( position . equalsIgnoreCase ( Configuration . getString ( key , "South" ) ) ) ) {