(File saveFile)
| 410 | } |
| 411 | |
| 412 | public void loadCheats(File saveFile) { |
| 413 | try (BufferedReader in = new BufferedReader(new FileReader(saveFile))) { |
| 414 | String line; |
| 415 | while ((line = in.readLine()) != null) { |
| 416 | DynamicCheat cheat = DynamicCheat.deserialize(line); |
| 417 | addCheat(cheat); |
| 418 | } |
| 419 | } catch (IOException ex) { |
| 420 | Logger.getLogger(MetaCheat.class.getName()).log(Level.SEVERE, null, ex); |
| 421 | } |
| 422 | } |
| 423 | } |
nothing calls this directly
no test coverage detected