if (!myFile.isFile() || !myFile.canRead()) { myLines = new String[0]; return; } BufferedReader reader = null; Collection lines = new ArrayList(); try { reader = new BufferedReader(new FileReader(myFile)); String line; while((line = reader.readLine()) != null) { lines.add(line); } } catch (IOException e) { lines.clear(); } finally { SVNFileUtil.closeFile(reader); } myLines = (String[]) lines.toArray(new String[lines.size()]);
myLines = doLoad(myFile);
    private void load() {        if (myLines != null && myFile.lastModified() == myLastModified) {            return;        }        myLastModified = myFile.lastModified();        if (!myFile.isFile() || !myFile.canRead()) {            myLines = new String[0];            return;        }        BufferedReader reader = null;        Collection lines = new ArrayList();        try {            reader = new BufferedReader(new FileReader(myFile));            String line;            while((line = reader.readLine()) != null) {                lines.add(line);            }        } catch (IOException e) {            lines.clear();        } finally {            SVNFileUtil.closeFile(reader);        }        myLines = (String[]) lines.toArray(new String[lines.size()]);        myLastModified = myFile.lastModified();    }