#fixed code
                                private List<String> readContractList() {
        return ResourceLoader
            .newBufferedReader(SLA_CONTRACTS_LIST, getClass())
            .lines()
            .map(String::trim)
            .filter(line -> !line.isEmpty())
            .filter(line -> !line.startsWith("#"))
            .collect(toList());
    }
#vulnerable code 
                                private List<String> readContractList() {
        return ResourceLoader
            .getBufferedReader(getClass(), SLA_CONTRACTS_LIST)
            .lines()
            .map(String::trim)
            .filter(line -> !line.isEmpty())
            .filter(line -> !line.startsWith("#"))
            .collect(toList());
    } 
                            #location 4 
                            #vulnerability type RESOURCE_LEAK