Skip to content

Commit 9bcf3d8

Browse files
committed
Add stats bytes
1 parent 7fc504b commit 9bcf3d8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

OsmAnd-java/src/main/java/net/osmand/binary/BinaryMapAddressReaderAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ protected List<PrefixNameValue> readNameIndex(NameIndexReader nameIndex) throws
920920
long oldLimit = codedIS.pushLimitLong((long) length);
921921
res = readNameIndexInternal(nameIndex);
922922
codedIS.popLimit(oldLimit);
923-
break;
923+
return res;
924924
default:
925925
skipUnknownField(t);
926926
break;

OsmAnd-java/src/main/java/net/osmand/binary/BinaryMapPoiReaderAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ protected List<PrefixNameValue> readNameIndex(NameIndexReader nameIndexReader) t
456456
long oldLimit = codedIS.pushLimitLong((long) length);
457457
res = readNameIndexInternal(nameIndexReader);
458458
codedIS.popLimit(oldLimit);
459-
break;
459+
return res;
460460
default:
461461
skipUnknownField(t);
462462
break;

0 commit comments

Comments
 (0)