#vulnerable code 
                                private void init(String fileName) throws IOException {
        cellList.clear();
        BufferedReader reader = FileReadUtil.createLineRead(fileName);
        String line = reader.readLine();
        String[] temps;
        while (line != null) {
            temps = StringUtils.split(line, "|");
            cellList.add(new WxImgCreateTemplateCell(temps[0], temps[1]));
        }
    } 
                            #location 4 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                private void init(String fileName) throws IOException {
        List<WxImgCreateTemplateCell> list = new CopyOnWriteArrayList<>();
        BufferedReader reader = FileReadUtil.createLineRead(fileName);
        String line = reader.readLine();
        String[] temps;
        while (line != null) {
            temps = StringUtils.split(line, "|");
            list.add(new WxImgCreateTemplateCell(temps[0], temps[1]));
            line = reader.readLine();
        }
        cellList = list;
    }