Say what happens instead of making files do things
A file is written to; it does not write, score or name anything. Five comments and doc lines said otherwise, two of them older than today. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RoGtneMQaz4M9w7Kk49AVD
This commit is contained in:
@@ -65,8 +65,8 @@ public sealed class FieldDayRegionOne : Contest
|
||||
|| call.Text.EndsWith("/M", StringComparison.OrdinalIgnoreCase)
|
||||
|| call.Text.EndsWith("/A", StringComparison.OrdinalIgnoreCase);
|
||||
|
||||
/// Region 1 is Europe, Africa and the Middle East; the country file names
|
||||
/// the first two, and Asia is split between regions, which the continent
|
||||
/// alone cannot say.
|
||||
/// Region 1 is Europe, Africa and the Middle East. The country file has a
|
||||
/// continent for the first two; the Middle East is inside Asia, which is
|
||||
/// split between regions, and the continent alone does not separate them.
|
||||
private static bool IsRegionOne(string continent) => continent is "EU" or "AF";
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Globalization;
|
||||
namespace Nonemm.Core.Country;
|
||||
|
||||
/// One alias from the country file: a prefix or whole call, plus the overrides
|
||||
/// the file writes after it, such as `K5(4)[7]` for a different zone.
|
||||
/// the file holds after it, such as `K5(4)[7]` for a different zone.
|
||||
public sealed class PrefixRule
|
||||
{
|
||||
private readonly DxccEntity entity;
|
||||
|
||||
@@ -12,7 +12,7 @@ public sealed record StationInfo
|
||||
|
||||
public string Continent { get; init; } = "";
|
||||
|
||||
/// The primary prefix of the entity operated from, as the country file names it.
|
||||
/// The primary prefix of the entity operated from, as spelled in the country file.
|
||||
public string CountryPrefix { get; init; } = "";
|
||||
|
||||
public string State { get; init; } = "";
|
||||
|
||||
Reference in New Issue
Block a user