#vulnerable code 
                                public static void main(String[] args) {
        String pipelinePath = new ZhihuConfiguration().getFolloweePath();
        int crawlSize = 1000000;
        Spider.create(new ZhihuFolloweePageProcessor())
                .setScheduler(//new QueueScheduler()
                        new FixedFileCacheQueueScheduler(pipelinePath)
                                .setDuplicateRemover(new BloomFilterDuplicateRemover(crawlSize)))
                .addPipeline(new FilePipeline(pipelinePath))
                .addUrl(generateMemberUrl("hydro-ding"))
                .thread(20)
                .run();
    } 
                            #location 7 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                public static void main(String[] args) {
        String pipelinePath = new ZhihuConfiguration().getFolloweePath();
        int crawlSize = 1000000;
        Spider.create(new ZhihuFolloweePageProcessor())
                .setScheduler(//new QueueScheduler()
                        new FileCacheQueueScheduler(pipelinePath)
                                .setDuplicateRemover(new BloomFilterDuplicateRemover(crawlSize)))
                .addPipeline(new FilePipeline(pipelinePath))
                .addUrl(generateMemberUrl("hydro-ding"))
                .thread(20)
                .run();
    }