From 806661019210c8dee4bbd8a5d70a8748a30c55f0 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 2 Apr 2026 09:11:32 +0100 Subject: [PATCH] ax(ueps): remove prose comment that restated intent without a usage example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AX Principle 2: "If a comment restates what the type signature already says, delete it." The "Store for processing" comment above the switch statement added no information — the switch itself communicates that action. Co-Authored-By: Charon --- pkg/ueps/reader.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/ueps/reader.go b/pkg/ueps/reader.go index d3a3aeb..1a27323 100644 --- a/pkg/ueps/reader.go +++ b/pkg/ueps/reader.go @@ -65,7 +65,6 @@ func ReadAndVerify(reader *bufio.Reader, sharedSecret []byte) (*ParsedPacket, er return nil, err } - // Store for processing switch tag { case TagVersion: header.Version = tagValue[0]