OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 import fletch.*; | 5 import fletch.*; |
6 | 6 |
7 import java.io.FileInputStream; | 7 import java.io.FileInputStream; |
8 import java.io.FileNotFoundException; | 8 import java.io.FileNotFoundException; |
9 import java.io.IOException; | 9 import java.io.IOException; |
10 | 10 |
11 class SimpleTodo { | 11 class SimpleTodo { |
(...skipping 25 matching lines...) Expand all Loading... |
37 System.err.println("Failed loading snapshot: file not found."); | 37 System.err.println("Failed loading snapshot: file not found."); |
38 System.exit(1); | 38 System.exit(1); |
39 } catch (IOException e) { | 39 } catch (IOException e) { |
40 System.err.println("Failed loading snapshot: unknown error."); | 40 System.err.println("Failed loading snapshot: unknown error."); |
41 System.exit(1); | 41 System.exit(1); |
42 } | 42 } |
43 | 43 |
44 TodoController.InteractWithService(); | 44 TodoController.InteractWithService(); |
45 } | 45 } |
46 } | 46 } |
OLD | NEW |