Merge remote-tracking branch 'origin/kolomiets_branch' into kolomiets_branch
This commit is contained in:
commit
77414ede0c
1 changed files with 31 additions and 26 deletions
|
@ -10,6 +10,7 @@ import java.util.Iterator;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import net.osmand.PlatformUtil;
|
||||
import net.osmand.binary.BinaryMapIndexReader.SearchRequest;
|
||||
import net.osmand.data.TransportSchedule;
|
||||
import net.osmand.data.TransportStop;
|
||||
|
@ -22,6 +23,7 @@ import net.sf.junidecode.Junidecode;
|
|||
import com.google.protobuf.CodedInputStream;
|
||||
import com.google.protobuf.WireFormat;
|
||||
|
||||
|
||||
public class BinaryMapTransportReaderAdapter {
|
||||
private CodedInputStream codedIS;
|
||||
private final BinaryMapIndexReader map;
|
||||
|
@ -456,11 +458,14 @@ public class BinaryMapTransportReaderAdapter {
|
|||
protected void initializeNames(TIntObjectHashMap<String> stringTable, TransportStop s) {
|
||||
for (TransportStopExit exit : s.getExits()) {
|
||||
if (exit.getRef().length() > 0) {
|
||||
|
||||
exit.setRef(stringTable.get(exit.getRef().charAt(0)));
|
||||
}
|
||||
}
|
||||
if (s.getName().length() > 0) {
|
||||
|
||||
s.setName(stringTable.get(s.getName().charAt(0)));
|
||||
|
||||
}
|
||||
if (s.getEnName(false).length() > 0) {
|
||||
s.setEnName(stringTable.get(s.getEnName(false).charAt(0)));
|
||||
|
|
Loading…
Reference in a new issue