diff options
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark/sampler')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/sampler/node/StackTraceNode.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/sampler/node/StackTraceNode.java b/spark-common/src/main/java/me/lucko/spark/sampler/node/StackTraceNode.java index ee9e985..8cbcd0f 100644 --- a/spark-common/src/main/java/me/lucko/spark/sampler/node/StackTraceNode.java +++ b/spark-common/src/main/java/me/lucko/spark/sampler/node/StackTraceNode.java @@ -64,7 +64,7 @@ public final class StackTraceNode extends AbstractNode implements Comparable<Sta protected void appendMetadata(JsonWriter writer) throws IOException { writer.name("cl").value(this.className); writer.name("m").value(this.methodName); - if (this.lineNumber != NULL_LINE_NUMBER) { + if (this.lineNumber >= 0) { writer.name("ln").value(this.lineNumber); } } |