aprs.me/lib/aprsme_web/live/shared
Graham McIntire d879b54fd4
refactor: replace more cond expressions with guarded clauses
- CoordinateUtils.normalize_longitude / normalize_latitude: recursion
  and clamping move into the function head via numeric guards.
- Shared.PacketUtils.map_label: dispatch on data_type + fallback via
  multi-clause helpers (map_label_for/2, prefer_name/2) instead of a
  three-branch cond with inner `if`s.
- MapLive.DataBuilder.get_received_at: pattern-match the atom- and
  string-key packet shapes in the function head.

No behavior change; all 1567 tests and 27 property checks still pass,
dialyzer remains clean.
2026-04-23 14:12:45 -05:00
..
bounds_utils.ex clean up warnings 2025-07-16 08:55:46 -05:00
coordinate_utils.ex refactor: replace more cond expressions with guarded clauses 2026-04-23 14:12:45 -05:00
packet_handler.ex refactor: collapse nested if/case into pattern-matched helpers 2026-04-23 13:55:11 -05:00
packet_utils.ex refactor: replace more cond expressions with guarded clauses 2026-04-23 14:12:45 -05:00
param_utils.ex clean up warnings 2025-07-16 08:55:46 -05:00