Skip to content

Commit 87135ba

Browse files
committed
Remove redundant nullability in an arg
1 parent 90643a6 commit 87135ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

protobuf/lib/src/protobuf/pb_map.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ class PbMap<K, V> extends MapBase<K, V> {
9595
}
9696

9797
void _mergeEntry(BuilderInfo mapEntryMeta, CodedBufferReader input,
98-
[ExtensionRegistry? registry]) {
98+
ExtensionRegistry registry) {
9999
var length = input.readInt32();
100100
var oldLimit = input._currentLimit;
101101
input._currentLimit = input._bufferPos + length;
102102
final entryFieldSet = _FieldSet(null, mapEntryMeta, null);
103-
_mergeFromCodedBufferReader(mapEntryMeta, entryFieldSet, input, registry!);
103+
_mergeFromCodedBufferReader(mapEntryMeta, entryFieldSet, input, registry);
104104
input.checkLastTagWas(0);
105105
input._currentLimit = oldLimit;
106106
var key =

0 commit comments

Comments
 (0)