[GODRIVER-3111] Remove redundant logic branch Created: 31/Jan/24  Updated: 06/Feb/24  Resolved: 31/Jan/24

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.13.2

Type: Improvement Priority: Unknown
Reporter: Qingyang Hu Assignee: Qingyang Hu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Go Drivers
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

Context

Track external PR: https://github.com/mongodb/mongo-go-driver/pull/1531, which removes redundant if branch in bson/primitive/decimal.go around line 167.



 Comments   
Comment by Githook User [ 06/Feb/24 ]

Author:

{'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}

Message: GODRIVER-3111 [master] Combine the identical if-else branches in bson/primitive/decimal.go (#1538)

Co-authored-by: Cheng Fang <cfang@redhat.com>
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/28ab4da87ea61c330fa8f27dc46bc63ccf2b5bfc

Comment by Githook User [ 31/Jan/24 ]

Author:

{'name': 'Cheng Fang', 'email': 'cfang@redhat.com', 'username': 'chengfang'}

Message: GODRIVER-3111 Combine the identical if-else branches in bson/primitive/decimal.go (#1531)
Branch: v1
https://github.com/mongodb/mongo-go-driver/commit/eb4ce3289d413e5511cb7721b254cd2e6001828e

Generated at Thu Feb 08 08:40:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.