Skip to content

refactor(client): extract upload client content-type constants#1097

Open
NC1107 wants to merge 1 commit into
mainfrom
fix/sonar-batch-a-string-constants
Open

refactor(client): extract upload client content-type constants#1097
NC1107 wants to merge 1 commit into
mainfrom
fix/sonar-batch-a-string-constants

Conversation

@NC1107
Copy link
Copy Markdown
Owner

@NC1107 NC1107 commented May 22, 2026

Summary

  • Lifts application/octet-stream, application/json, and Content-Type into file-scope const strings in chunked_upload_client.dart — clears two SonarQube S1192 duplication issues that were the only CRITICAL items open in that file.

Test plan

  • flutter analyze clean on the touched file
  • CI Flutter lint job

Behind the scenes only — no behaviour change.

…ient

Clears two SonarQube S1192 duplications by lifting Content-Type, application/json,
and application/octet-stream into file-scope const strings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant