| 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 // Generated file. Do not edit. | 5 // Generated file. Do not edit. |
| 6 | 6 |
| 7 package immi; | 7 package immi; |
| 8 | 8 |
| 9 import java.util.HashMap; | 9 import java.util.HashMap; |
| 10 import java.util.Map; | 10 import java.util.Map; |
| 11 | 11 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 26 Uint16ListBuilder chars = builder.initNameData(length); | 26 Uint16ListBuilder chars = builder.initNameData(length); |
| 27 for (int i = 0; i < length; ++i) chars.set(i, name.charAt(i)); | 27 for (int i = 0; i < length; ++i) chars.set(i, name.charAt(i)); |
| 28 int id = ImmiServiceLayer.getPresenter(builder); | 28 int id = ImmiServiceLayer.getPresenter(builder); |
| 29 ImmiRoot root = new ImmiRoot(id, presenter); | 29 ImmiRoot root = new ImmiRoot(id, presenter); |
| 30 roots.put(name, root); | 30 roots.put(name, root); |
| 31 return root; | 31 return root; |
| 32 } | 32 } |
| 33 | 33 |
| 34 private Map<String, ImmiRoot> roots = new HashMap<String, ImmiRoot>(); | 34 private Map<String, ImmiRoot> roots = new HashMap<String, ImmiRoot>(); |
| 35 } | 35 } |
| OLD | NEW |