output: #fixed code
                                  public void doGenerate(String excludeTables) {
  
          System.out.println("start generate...");
          List<TableMeta> tableMetaList = CodeGenHelpler.createMetaBuilder().build();
          CodeGenHelpler.excludeTables(tableMetaList, excludeTables);
  
          generate(tableMetaList);
  
          System.out.println("generate finished !!!");
  
      }
input: #vulnerable code 
                                  public void doGenerate(String excludeTables) {
  
          System.out.println("start generate...");
          DataSource dataSource = CodeGenHelpler.getDatasource();
          List<TableMeta> tableMetaList = new MetaBuilder(dataSource).build();
          CodeGenHelpler.excludeTables(tableMetaList, excludeTables);
  
          generate(tableMetaList);
  
          System.out.println("generate finished !!!");
  
      } 
                              #location 5 
                              #vulnerability type RESOURCE_LEAK