Unify brackets for opening blocks with comments

This commit is contained in:
moving-bits 2023-04-29 19:04:52 +02:00
parent 340227016a
commit 79b1eda1ed
28 changed files with 83 additions and 164 deletions

View file

@ -171,11 +171,9 @@ public class OsmNode extends OsmLink implements OsmPos {
}
}
}
if (tn == null) // .. not found, then check the hollow nodes
{
if (tn == null) { // .. not found, then check the hollow nodes
tn = hollowNodes.get(linklon, linklat); // target node
if (tn == null) // node not yet known, create a new hollow proxy
{
if (tn == null) { // node not yet known, create a new hollow proxy
tn = new OsmNode(linklon, linklat);
tn.setHollow();
hollowNodes.put(tn);
@ -231,8 +229,7 @@ public class OsmNode extends OsmLink implements OsmPos {
OsmLink l = firstlink;
while (l != null) {
// if ( l.isReverse( this ) )
if (l.n1 != this && l.n1 != null) // isReverse inline
{
if (l.n1 != this && l.n1 != null) { // isReverse inline
OsmLink nl = l.previous;
if (nl == link) {
l.previous = n;