From a895841c1c9d8bc94651246d4645ede5b4d54d06 Mon Sep 17 00:00:00 2001 From: Luck Date: Mon, 28 May 2018 16:41:16 +0100 Subject: Don't include a name param for stack trace nodes --- common/src/main/java/com/sk89q/warmroast/StackNode.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'common/src/main/java/com/sk89q') diff --git a/common/src/main/java/com/sk89q/warmroast/StackNode.java b/common/src/main/java/com/sk89q/warmroast/StackNode.java index 85941a3..f077309 100644 --- a/common/src/main/java/com/sk89q/warmroast/StackNode.java +++ b/common/src/main/java/com/sk89q/warmroast/StackNode.java @@ -54,7 +54,7 @@ public class StackNode implements Comparable { public StackNode(String name) { this.name = name; } - + public String getName() { return this.name; } @@ -109,7 +109,6 @@ public class StackNode implements Comparable { JsonObject ret = new JsonObject(); // append metadata about this node - ret.addProperty("name", getName()); appendMetadata(ret); // include the total time recorded for this node @@ -129,7 +128,7 @@ public class StackNode implements Comparable { } protected void appendMetadata(JsonObject obj) { - + obj.addProperty("name", getName()); } } -- cgit