Buggy code:
@ Override public ConfigIncluder withFallback ( ConfigIncluder fallback ) { } @ Override public ConfigObject include ( ConfigIncludeContext context , String what ) { } private String resolve ( String var ) { } } private static String makePath ( String ... els ) { } public static List < String > splitConfigSearchPath ( String path ) { } public static SwiftConfig load ( String cmdLineConfig , List < String > configSearchPath , Map < String , Object > cmdLineOptions ) { } private static Config loadFromSearchPath ( List < String > configSearchPath , String cmdLineConfig , ConfigParseOptions opt , List < String > loadedFiles , List < String > loadedFileIndices ) { } private static Config loadNormal ( String cmdLineConfig , ConfigParseOptions opt , List < String > loadedFiles , List < String > loadedFileIndices ) { } private static Config loadOne ( String fileName , Config conf , ConfigParseOptions opt ) { } private static Config getSubstitutions ( ) { } private static SwiftConfig _default ; public static synchronized SwiftConfig getDefault ( ) { } public static synchronized void setDefault ( SwiftConfig conf ) { } private SwiftContactSet definedSites ; private SwiftContactSet sites ; private ConfigTree < SwiftConfig . ValueLocationPair > tree ; private Map < String , Object > flat ; private String fileName ; private List < String > usedFiles ; private List < String > usedFileIndices ; public SwiftConfig ( List < String > usedFiles , List < String > usedFileIndices ) { } public SwiftContactSet getSites ( ) { } public SwiftContactSet getDefinedSites ( ) { } public Collection < String > getDefinedSiteNames ( ) { } public void setProperty ( String key , Object value ) { } public void set ( SwiftConfig . Key key , Object value ) { } @ SuppressWarnings ( "unchecked" ) private void build ( ConfigTree < SwiftConfig . ValueLocationPair > tree ) { } private void checkKey ( String key ) { } private void apps ( SwiftContact sc , ConfigTree . Node < SwiftConfig . ValueLocationPair > n ) { } private String removeQuotes ( String key ) { } private void mergeEnvsToApps ( SwiftContact bc , Map < String , String > envs ) { } private void mergePropsToApps ( SwiftContact bc , Map < String , Object > props ) { } private Application app ( String name , ConfigTree . Node < SwiftConfig . ValueLocationPair > n ) { Application app = new Application ( ) ; app . setName ( name ) ; if ( SwiftConfig . BUILD_CHECK ) { checkKey ( "app.*.executable" ) ; checkKey ( "app.*.options" ) ; checkKey ( "app.*.env" ) ; checkKey ( "app.*.options.jobProject" ) ; checkKey ( "app.*.options.jobQueue" ) ; } for ( Map . Entry < String , ConfigTree . Node < SwiftConfig . ValueLocationPair > > e : n . entrySet ( ) ) { String k = e . getKey ( ) ; ConfigTree . Node < SwiftConfig . ValueLocationPair > c = e . getValue ( ) ; if ( k . equals ( "executable" ) ) { app . setExecutable ( getString ( c ) ) ; } else if ( k . equals ( "options" ) ) { for ( String key : c . getLeafPaths ( ) ) { if ( key . equals ( "jobProject" ) ) { app . addProperty ( "project" , getString ( c , key ) ) ; } else if ( key . equals ( "jobQueue" ) ) { app . addProperty ( "queue" , getString ( c , key ) ) ; } else if ( key . equals ( "count" ) ) { app . addProperty ( "count" , getObject ( c , key ) ) ; } else if ( key . equals ( "depth" ) ) { app . addProperty ( "depth" , getObject ( c , key ) ) ; } else if ( key . equals ( "ppn" ) ) { <START_BUG> app . addProperty ( "ppb" , getObject ( c , key ) ) ; <END_BUG> } else { app . addProperty ( key , getString ( c , key ) ) ; } } } else if ( k . equals ( "env" ) ) { List < SwiftConfig . KVPair > envs = envs ( c ) ; for ( SwiftConfig . KVPair env : envs ) { app . setEnv ( env . key , env . value ) ; } } else { app . addProperty ( k , getString ( c ) ) ; } } return app ; } private List < SwiftConfig . KVPair > envs ( Node < SwiftConfig . ValueLocationPair > n ) { } private void site ( SwiftContactSet sites , String name , ConfigTree . Node < SwiftConfig . ValueLocationPair > n ) { } private void staging ( SwiftContact sc , Node < SwiftConfig . ValueLocationPair > n ) { } private boolean isCoaster ( SwiftContact sc ) { } private void checkValue ( String key , String ... values ) { } private Service filesystem ( Node < SwiftConfig . ValueLocationPair > c ) throws ProviderMethodException , InvalidProviderException { } private void fileService ( Node < SwiftConfig . ValueLocationPair > n , Service s ) throws ProviderMethodException , InvalidProviderException { } private Service execution ( ConfigTree . Node < SwiftConfig . ValueLocationPair > n ) throws ProviderMethodException , InvalidProviderException { } private void execService ( Node < SwiftConfig . ValueLocationPair > n , Service s ) throws ProviderMethodException , InvalidProviderException { } private void execOptions ( ExecutionService s , Node < SwiftConfig . ValueLocationPair > n ) { } private String getString ( Node < SwiftConfig . ValueLocationPair > c ) { } private Object getObject ( ConfigTree . Node < SwiftConfig . ValueLocationPair > c ) { } private String getString ( ConfigTree . Node < SwiftConfig . ValueLocationPair > c , String key ) { }

Fix:
app . addProperty ( "ppn" , getObject ( c , key ) ) ;