You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2022/01/30 21:05:00 UTC
[jira] [Resolved] (AVRO-3329) Add omitted braces in CodeGen class
[ https://issues.apache.org/jira/browse/AVRO-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Tzvetanov Grigorov resolved AVRO-3329.
---------------------------------------------
Fix Version/s: 1.11.1
1.12.0
Assignee: Martin Tzvetanov Grigorov
Resolution: Fixed
> Add omitted braces in CodeGen class
> -----------------------------------
>
> Key: AVRO-3329
> URL: https://issues.apache.org/jira/browse/AVRO-3329
> Project: Apache Avro
> Issue Type: Improvement
> Components: csharp
> Affects Versions: 1.11.0
> Reporter: Kyle Schoonover
> Assignee: Martin Tzvetanov Grigorov
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.11.1, 1.12.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Styling improvement. It is standard that when there is an if statement that the following line of code is executed. However this can cause confusion when maintaining a code base. This would require all statements with optional braces to include the braces.
>
> Style Rule Reference: [StyleCopAnalyzers/SA1503.md at master · DotNetAnalyzers/StyleCopAnalyzers (github.com)|https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1503.md]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)