[ https://issues.apache.org/jira/browse/AVRO-3497?focusedWorklogId=759491&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-759491 ]
ASF GitHub Bot logged work on AVRO-3497: ---------------------------------------- Author: ASF GitHub Bot Created on: 20/Apr/22 18:45 Start Date: 20/Apr/22 18:45 Worklog Time Spent: 10m Work Description: KyleSchoonover commented on PR #1658: URL: https://github.com/apache/avro/pull/1658#issuecomment-1104332073 I will create a separate PR for the other equals checks and add appropriate tests. Issue Time Tracking ------------------- Worklog Id: (was: 759491) Time Spent: 2.5h (was: 2h 20m) > 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: 2.5h > 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)