mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-06-21 10:21:14 +00:00
[AZ-372] Apply dotnet format whitespace cleanup; archive batch 22
Pure whitespace-only cleanup uncovered by the new format gate from the previous commit. Verified via `git diff -w --stat`: only 4 files differ when whitespace is ignored, and those differ only by the BOM byte. Cleanup kinds applied across 22 source files: - BOM removal (MapConfig.cs, SatTile.cs, GeoUtils.cs, IntegrationTests/Program.cs) - CRLF -> LF (IntegrationTests/Program.cs) - Trailing whitespace on blank lines (Common, Api, DataAccess, IntegrationTests, Services.RegionProcessing, Services.TileDownloader) - Final newline added (RoutePoint.cs, GeoPoint.cs, others) After this commit `dotnet format whitespace SatelliteProvider.sln --verify-no-changes` exits 0; AC-1 is enforceable from `scripts/ run-tests.sh` going forward. Also lands the batch 22 report, code-review report (PASS_WITH_WARNINGS, 2 Low findings — both deferred per spec), dependency-table status update (AZ-372 -> Done (In Testing)), task archive (todo/ -> done/), and autodev state update. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using SatelliteProvider.Common.DTO;
|
||||
using SatelliteProvider.Common.DTO;
|
||||
|
||||
namespace SatelliteProvider.Common.Utils;
|
||||
|
||||
@@ -88,7 +88,7 @@ public static class GeoUtils
|
||||
{
|
||||
var direction = start.DirectionTo(end);
|
||||
var distance = direction.Distance;
|
||||
|
||||
|
||||
if (distance <= maxSpacingMeters)
|
||||
{
|
||||
return new List<GeoPoint>();
|
||||
@@ -96,9 +96,9 @@ public static class GeoUtils
|
||||
|
||||
var numSegments = (int)Math.Ceiling(distance / maxSpacingMeters);
|
||||
var actualSpacing = distance / numSegments;
|
||||
|
||||
|
||||
var intermediatePoints = new List<GeoPoint>();
|
||||
|
||||
|
||||
for (int i = 1; i < numSegments; i++)
|
||||
{
|
||||
var segmentDistance = actualSpacing * i;
|
||||
@@ -110,7 +110,7 @@ public static class GeoUtils
|
||||
var intermediatePoint = start.GoDirection(intermediateDirection);
|
||||
intermediatePoints.Add(intermediatePoint);
|
||||
}
|
||||
|
||||
|
||||
return intermediatePoints;
|
||||
}
|
||||
|
||||
@@ -130,4 +130,4 @@ public static class GeoUtils
|
||||
{
|
||||
return CalculateDistance(northWest, southEast);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user