From 2b480eed536c61a5188bf671641971211269e949 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Fri, 3 Jan 2020 16:49:08 +0100 Subject: Use new API implementation in Agent --- src/main/java/pl/edu/mimuw/cloudatlas/interpreter/Main.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/java/pl/edu/mimuw/cloudatlas/interpreter') diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/Main.java b/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/Main.java index f91f25e..288087d 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/Main.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/Main.java @@ -277,16 +277,19 @@ public class Main { ZMI root = new ZMI(); root.getAttributes().add("level", new ValueInt(0l)); root.getAttributes().add("name", new ValueString(null)); + root.getAttributes().add("timestamp", new ValueTime(0l)); ZMI uw = new ZMI(root); root.addSon(uw); uw.getAttributes().add("level", new ValueInt(1l)); uw.getAttributes().add("name", new ValueString("uw")); + uw.getAttributes().add("timestamp", new ValueTime(0l)); ZMI pjwstk = new ZMI(root); root.addSon(pjwstk); pjwstk.getAttributes().add("level", new ValueInt(1l)); pjwstk.getAttributes().add("name", new ValueString("pjwstk")); + pjwstk.getAttributes().add("timestamp", new ValueTime(0l)); ZMI violet07 = new ZMI(uw); uw.addSon(violet07); -- cgit v1.2.3