Skip to content

Commit

Permalink
Ran dotnet format.
Browse files Browse the repository at this point in the history
  • Loading branch information
xivk committed Jul 27, 2023
1 parent a30501f commit dbfe45f
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/TilesMath/GlobalTileId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ internal static long ForTile(Tile tile)

return ForZoom(tile.Zoom) + tile.Y * xMax + tile.X;
}
}
}
2 changes: 1 addition & 1 deletion src/TilesMath/LocalTileId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ internal static int ForTile(Tile tile)

return tile.Y * xMax + tile.X;
}
}
}
2 changes: 1 addition & 1 deletion src/TilesMath/Tile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,4 @@ public static Tile AtLocation(double longitude, double latitude, int zoom)
/// Creates an empty tile.
/// </summary>
public static Tile Empty = new Tile(-1, -1, 0);
}
}
2 changes: 1 addition & 1 deletion src/TilesMath/TileBounds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ internal TileBounds(double left, double top, double right, double bottom)
/// The center longitude of the tile.
/// </summary>
public double CenterLongitude => (this.Left + this.Right) / 2.0;
}
}
4 changes: 2 additions & 2 deletions src/TilesMath/TileChildren.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ public IEnumerator<Tile> GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
{
return GetEnumerator();
return this.GetEnumerator();
}
}
}
2 changes: 1 addition & 1 deletion src/TilesMath/TileExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ IEnumerable<int> EnumerateX()
yield return Tile.Create(x, y, topLeft.Zoom);
}
}
}
}
2 changes: 1 addition & 1 deletion src/TilesMath/TileGeo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ public static TileBounds BoundariesFor(Tile tile)

return new TileBounds(left, top, right, bottom);
}
}
}
4 changes: 2 additions & 2 deletions src/TilesMath/TileNeighbours.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ public IEnumerator<Tile> GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
{
return GetEnumerator();
return this.GetEnumerator();
}
}
}

0 comments on commit dbfe45f

Please sign in to comment.