|
45 | 45 | */ |
46 | 46 | public interface TagMap extends Map<String, Object>, Iterable<TagMap.Entry> { |
47 | 47 | /** Immutable empty TagMap - similar to {@link Collections#emptyMap()} */ |
48 | | - TagMap EMPTY = TagMapFactory.INSTANCE.empty(); |
| 48 | + static final TagMap EMPTY = TagMapFactory.INSTANCE.empty(); |
49 | 49 |
|
50 | 50 | /** Creates a new mutable TagMap that contains the contents of <code>map</code> */ |
51 | 51 | static TagMap fromMap(Map<String, ?> map) { |
@@ -2688,23 +2688,23 @@ public void fillStringMap(Map<? super String, ? super String> stringMap) { |
2688 | 2688 | } |
2689 | 2689 |
|
2690 | 2690 | @Override |
2691 | | - public void forEach(Consumer<? super datadog.trace.api.TagMap.Entry> consumer) { |
| 2691 | + public void forEach(Consumer<? super TagMap.Entry> consumer) { |
2692 | 2692 | for (Map.Entry<String, Object> entry : this.entrySet()) { |
2693 | 2693 | consumer.accept(TagMap.Entry.newAnyEntry(entry)); |
2694 | 2694 | } |
2695 | 2695 | } |
2696 | 2696 |
|
2697 | 2697 | @Override |
2698 | 2698 | public <T> void forEach( |
2699 | | - T thisObj, BiConsumer<T, ? super datadog.trace.api.TagMap.Entry> consumer) { |
| 2699 | + T thisObj, BiConsumer<T, ? super TagMap.Entry> consumer) { |
2700 | 2700 | for (Map.Entry<String, Object> entry : this.entrySet()) { |
2701 | 2701 | consumer.accept(thisObj, TagMap.Entry.newAnyEntry(entry)); |
2702 | 2702 | } |
2703 | 2703 | } |
2704 | 2704 |
|
2705 | 2705 | @Override |
2706 | 2706 | public <T, U> void forEach( |
2707 | | - T thisObj, U otherObj, TriConsumer<T, U, ? super datadog.trace.api.TagMap.Entry> consumer) { |
| 2707 | + T thisObj, U otherObj, TriConsumer<T, U, ? super TagMap.Entry> consumer) { |
2708 | 2708 | for (Map.Entry<String, Object> entry : this.entrySet()) { |
2709 | 2709 | consumer.accept(thisObj, otherObj, TagMap.Entry.newAnyEntry(entry)); |
2710 | 2710 | } |
|
0 commit comments