[ 
https://issues.apache.org/jira/browse/AVRO-3497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17525248#comment-17525248
 ] 

ASF subversion and git services commented on AVRO-3497:
-------------------------------------------------------

Commit 9d87a206b52de7dc9402be711a51b72cb3c11160 in avro's branch 
refs/heads/master from Kyle Schoonover
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=9d87a206b ]

AVRO-3497 Simplify conditional expression (#1658)

* AVRO-3497 Simplify conditional expression

* Added null check back

* Updated tests

> Fix IDE0075 Simplify conditional expression
> -------------------------------------------
>
>                 Key: AVRO-3497
>                 URL: https://issues.apache.org/jira/browse/AVRO-3497
>             Project: Apache Avro
>          Issue Type: Sub-task
>          Components: csharp
>            Reporter: Kyle Schoonover
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> {code:java}
> // dotnet_style_prefer_simplified_boolean_expressions = true
> var result1 = M1() && M2();
> var result2 = M1() || M2();
> // dotnet_style_prefer_simplified_boolean_expressions = false
> var result1 = M1() && M2() ? true : false;
> var result2 = M1() ? true : M2(); {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to