Unify brackets for opening blocks with comments
This commit is contained in:
parent
340227016a
commit
79b1eda1ed
28 changed files with 83 additions and 164 deletions
|
|
@ -216,14 +216,12 @@ public class BPbfBlobDecoder {
|
|||
|
||||
String role = fieldDecoder.decodeString(memberRoleIterator.next());
|
||||
|
||||
if (memberType == Osmformat.Relation.MemberType.WAY) // currently just waymembers
|
||||
{
|
||||
if (memberType == Osmformat.Relation.MemberType.WAY) { // currently just waymembers
|
||||
wayIds.add(refId);
|
||||
if ("from".equals(role)) fromWid = addLong(fromWid, refId);
|
||||
if ("to".equals(role)) toWid = addLong(toWid, refId);
|
||||
}
|
||||
if (memberType == Osmformat.Relation.MemberType.NODE) // currently just waymembers
|
||||
{
|
||||
if (memberType == Osmformat.Relation.MemberType.NODE) { // currently just waymembers
|
||||
if ("via".equals(role)) viaNid = addLong(viaNid, refId);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue