This repository was archived by the owner on Dec 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
core_native/java/com/google/census
javatests/com/google/census Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public interface CensusContext {
4949 /** Sets the current thread-local {@link CensusContext}. */
5050 void setCurrent ();
5151
52- /** Builder for {@link Context }. */
52+ /** Builder for {@link CensusContext }. */
5353 interface Builder {
5454 /**
5555 * Associates the given tag key with the given tag value.
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public static Builder builder() {
5252 }
5353
5454 /**
55- * Returns the number of metrics in this {@link MetricsMap }.
55+ * Returns the number of metrics in this {@link MetricMap }.
5656 */
5757 public int size () {
5858 return metrics .size ();
Original file line number Diff line number Diff line change 1919 * TagValue's are {@link String}s with enforced restrictions.
2020 */
2121public final class TagValue {
22- public static final int MAX_LENGTH = Tag .MAX_LENGTH ;;
22+ public static final int MAX_LENGTH = Tag .MAX_LENGTH ;
2323
2424 public TagValue (String value ) {
2525 this .value = Tag .sanitize (value );
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public void testBuilderEmpty() {
6262
6363 @ Test
6464 public void testBuilder () {
65- ArrayList <Metric > expected = new ArrayList (10 );
65+ ArrayList <Metric > expected = new ArrayList <> (10 );
6666 MetricMap .Builder builder = MetricMap .builder ();
6767 for (int i = 1 ; i <= 10 ; i ++) {
6868 expected .add (new Metric (new MetricName ("m" + i ), i * 11.1 ));
Original file line number Diff line number Diff line change 2121
2222import javax .annotation .Nullable ;
2323
24- /** Native implementation {@link CenusContext } serialization. */
24+ /** Native implementation {@link CensusContext } serialization. */
2525final class CensusSerializer {
2626 private static final char TAG_PREFIX = '\2' ;
2727 private static final char TAG_DELIM = '\3' ;
You can’t perform that action at this time.
0 commit comments