aboutsummaryrefslogtreecommitdiff
path: root/impl_core
diff options
context:
space:
mode:
authorKristen Kozak <sebright@google.com>2018-02-21 21:58:46 -0800
committerKristen Kozak <sebright@google.com>2018-02-22 11:23:18 -0800
commitf0e9b541d93cc3df67310aa47d12729824c31d5f (patch)
treee50cbd6c90c59cdefb5e2759e27ef904ceaee9c3 /impl_core
parent8646fd4bdf235323d3911639bc83b20cb1fa31c0 (diff)
downloadopencensus-java-f0e9b541d93cc3df67310aa47d12729824c31d5f.tar.gz
Add comments to boolean arguments to fix Error Prone warning (BooleanParameter).
Diffstat (limited to 'impl_core')
-rw-r--r--impl_core/src/main/java/io/opencensus/implcore/trace/SpanImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/impl_core/src/main/java/io/opencensus/implcore/trace/SpanImpl.java b/impl_core/src/main/java/io/opencensus/implcore/trace/SpanImpl.java
index 20dde75d..f9a7f859 100644
--- a/impl_core/src/main/java/io/opencensus/implcore/trace/SpanImpl.java
+++ b/impl_core/src/main/java/io/opencensus/implcore/trace/SpanImpl.java
@@ -500,7 +500,7 @@ public final class SpanImpl extends Span implements Element<SpanImpl> {
// Capacity of the map is capacity + 1 to avoid resizing because removeEldestEntry is invoked
// by put and putAll after inserting a new entry into the map. The loadFactor is set to 1
// to avoid resizing because. The accessOrder is set to true.
- super(capacity + 1, 1, true);
+ super(capacity + 1, 1, /*accessOrder=*/ true);
this.capacity = capacity;
}