Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: tools/immic/lib/src/resources/java/immi/ImmiService.java

Issue 2035023003: Remove service-compiler related code. (Closed) Base URL: git@github.com:dartino/sdk.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/immic/lib/src/resources/java/immi/ImmiService.java
diff --git a/tools/immic/lib/src/resources/java/immi/ImmiService.java b/tools/immic/lib/src/resources/java/immi/ImmiService.java
deleted file mode 100644
index 0fe08192218a1c4f7038bbc89a4f276424bbf2e2..0000000000000000000000000000000000000000
--- a/tools/immic/lib/src/resources/java/immi/ImmiService.java
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE.md file.
-
-// Generated file. Do not edit.
-
-package immi;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import dartino.ImmiServiceLayer;
-import dartino.MessageBuilder;
-import dartino.PresenterDataBuilder;
-import dartino.Uint16ListBuilder;
-
-public final class ImmiService {
-
- public ImmiRoot registerPresenter(AnyNodePresenter presenter, String name) {
- assert !roots.containsKey(name);
- int length = name.length();
- int space = 48 + PresenterDataBuilder.kSize + length;
- MessageBuilder message = new MessageBuilder(space);
- PresenterDataBuilder builder = new PresenterDataBuilder();
- message.initRoot(builder, PresenterDataBuilder.kSize);
- Uint16ListBuilder chars = builder.initNameData(length);
- for (int i = 0; i < length; ++i) chars.set(i, name.charAt(i));
- int id = ImmiServiceLayer.getPresenter(builder);
- ImmiRoot root = new ImmiRoot(id, presenter);
- roots.put(name, root);
- return root;
- }
-
- private Map<String, ImmiRoot> roots = new HashMap<String, ImmiRoot>();
-}
« no previous file with comments | « tools/immic/lib/src/resources/java/immi/ImmiRoot.java ('k') | tools/immic/lib/src/resources/java/immi/ListPatch.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698