Java 6 fix
This commit is contained in:
parent
9f92c83940
commit
b3623d0f7b
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ public class BinaryMapAddressReaderAdapter {
|
||||||
case OsmandOdb.CityIndex.ATTRIBUTETAGIDS_FIELD_NUMBER :
|
case OsmandOdb.CityIndex.ATTRIBUTETAGIDS_FIELD_NUMBER :
|
||||||
int tgid = codedIS.readUInt32();
|
int tgid = codedIS.readUInt32();
|
||||||
if(additionalTags == null) {
|
if(additionalTags == null) {
|
||||||
additionalTags = new LinkedList<>();
|
additionalTags = new LinkedList<String>();
|
||||||
}
|
}
|
||||||
if(additionalTagsTable != null && tgid < additionalTagsTable.size()) {
|
if(additionalTagsTable != null && tgid < additionalTagsTable.size()) {
|
||||||
additionalTags.add(additionalTagsTable.get(tgid));
|
additionalTags.add(additionalTagsTable.get(tgid));
|
||||||
|
|
Loading…
Reference in a new issue