ArrayList list = new ArrayList();
List<String> list = new ArrayList<String>();
    private static String[] readClusterMachines() {        File file = new File(Utils.getEnvironmentVariable("STREAMIT_HOME") + File.separatorChar + CLUSTER_MACHINES_FILENAME);        if (file.exists()) {            try {                BufferedReader reader = new BufferedReader(new FileReader(file));                ArrayList list = new ArrayList();                String line;                while ((line = reader.readLine()) != null) {                    list.add(line);                }                return (String[])list.toArray(new String[0]);            } catch (IOException e) {                return new String[0];            }        } else {            return new String[0];        }    }