in = new BufferedReader(new InputStreamReader(new FileInputStream(log)));
String line;
while ((line = in.readLine()) != null) {
String[] request = line.split(";");
// time + ";" + requester + ";" + approved + ";" + description;
Request r = new Request(Long.parseLong(request[0]), request[1], request[3]);
r.setApproved(Boolean.parseBoolean(request[2]));
requests.add(r);
}
} catch (IOException e) {
// should we even report this?
Logging.getErrorLog().reportCritical("Error while loading request log: " + e.getMessage());