#vulnerable code 
                                public static void main(String[] args) {
        String allExtractRegularUrl = "http://localhost:8080/HtmlExtractorServer/api/all_extract_regular.jsp";
        String redisHost = "localhost";
        int redisPort = 6379;
        
        HtmlExtractor htmlExtractor = HtmlExtractor.getInstance(allExtractRegularUrl, redisHost, redisPort);

        String url = "http://money.163.com/08/1219/16/4THR2TMP002533QK.html";
        List<ExtractResult> extractResults = htmlExtractor.extract(url, "gb2312");

        int i = 1;
        for (ExtractResult extractResult : extractResults) {
            System.out.println((i++) + "、网页 " + extractResult.getUrl() + " 的抽取结果");
            for(ExtractResultItem extractResultItem : extractResult.getExtractResultItems()){
                System.out.print("\t"+extractResultItem.getField()+" = "+extractResultItem.getValue());              
            }
            System.out.println("\tdescription = "+extractResult.getDescription());
            System.out.println("\tkeywords = "+extractResult.getKeywords());
        }
    } 
                            #location 6 
                            #vulnerability type THREAD_SAFETY_VIOLATION
#fixed code
                                public static void main(String[] args) {
        usage1();
        //usage2();
    }