aboutsummaryrefslogtreecommitdiff
path: root/common/src/main/java/com/sk89q
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2018-05-28 16:41:16 +0100
committerLuck <git@lucko.me>2018-05-28 16:41:16 +0100
commita895841c1c9d8bc94651246d4645ede5b4d54d06 (patch)
tree8a979527df5f9837dbda37e6c48fa825959f4baf /common/src/main/java/com/sk89q
parentc29e96eb5d7981bbb1d9b54e92cbc9f22319efb8 (diff)
downloadspark-a895841c1c9d8bc94651246d4645ede5b4d54d06.tar.gz
spark-a895841c1c9d8bc94651246d4645ede5b4d54d06.tar.bz2
spark-a895841c1c9d8bc94651246d4645ede5b4d54d06.zip
Don't include a name param for stack trace nodes
Diffstat (limited to 'common/src/main/java/com/sk89q')
-rw-r--r--common/src/main/java/com/sk89q/warmroast/StackNode.java5
1 files changed, 2 insertions, 3 deletions
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<StackNode> {
public StackNode(String name) {
this.name = name;
}
-
+
public String getName() {
return this.name;
}
@@ -109,7 +109,6 @@ public class StackNode implements Comparable<StackNode> {
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<StackNode> {
}
protected void appendMetadata(JsonObject obj) {
-
+ obj.addProperty("name", getName());
}
}