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

Side by Side Diff: tools/immic/lib/src/resources/java/immi/ActionPatch.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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE.md file.
4
5 // Generated file. Do not edit.
6
7 package immi;
8
9 public final class ActionPatch<A extends Action> implements Patch {
10
11 // Public interface.
12
13 public boolean hasChanged() { return changed; }
14
15 public A getCurrent() { return action; }
16
17 // We do not implement getPrevious on actions because it has been removed from
18 // the graph and is a stale resource.
19
20 // Package private implementation.
21
22 ActionPatch(A previous) {
23 this.changed = false;
24 this.action = previous;
25 }
26
27 ActionPatch(A current, A previous, ImmiRoot root) {
28 this.changed = true;
29 this.action = current;
30 }
31
32 private boolean changed;
33 private A action;
34 }
OLDNEW
« no previous file with comments | « tools/immic/lib/src/resources/java/immi/Action.java ('k') | tools/immic/lib/src/resources/java/immi/AnyNodePresenter.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698