Skip to content

Conversation

@kyooosukedn
Copy link
Contributor

Fixes #4023 .

Motivation

Changed value equality to reference equality

Modifications

Changed == to equals()

Documentation

  • Does this pull request introduce a new feature? (no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@codecov
Copy link

codecov bot commented Jul 23, 2023

Codecov Report

Merging #4276 (4e1ea11) into master (3ad12c4) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

❗ Current head 4e1ea11 differs from pull request most recent head c8e8f17. Consider uploading reports for the commit c8e8f17 to get more accurate results

@@             Coverage Diff              @@
##             master    #4276      +/-   ##
============================================
- Coverage     16.87%   16.86%   -0.01%     
+ Complexity     1427     1426       -1     
============================================
  Files           593      593              
  Lines         26073    26073              
  Branches       2401     2401              
============================================
- Hits           4400     4398       -2     
- Misses        21233    21234       +1     
- Partials        440      441       +1     
Impacted Files Coverage Δ
...mesh/common/protocol/catalog/protos/Operation.java 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@Pil0tXia Pil0tXia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mxsm mxsm merged commit 2a3c680 into apache:master Jul 24, 2023
fabian4 pushed a commit to fabian4/eventmesh that referenced this pull request Jul 25, 2023
xwm1992 pushed a commit that referenced this pull request Jul 27, 2023
* feat: add redis connector.

* feat: add redis connector.

* feat: add redis connector.

* feat: add redis connector.

* feat: add redis connector.

* [ISSUE #4023]Comparison using reference equality instead of value equality.[Operation] (#4276)

* [ISSUE #4269] Used switch to replace the if-else. [MeshMessageProtocolAdaptor] (#4270)

* [ISSUE #4269] Used switch to replace the if-else. [MeshMessageProtocolAdaptor]

* [ISSUE #4269] Used switch to replace the if-else. [MeshMessageProtocolAdaptor]

* [ISSUE #4269] Used switch to replace the if-else. [MeshMessageProtocolAdaptor]

* [ISSUE #4269] Used switch to replace the if-else. [MeshMessageProtocolAdaptor]

* [ISSUE #4099]Refactor re-used constant's usage from dedicated file (#4257)

* [ISSUE #4099]: Refactor re-used constant's usage from dedicated file

* [ISSUE #4099] Rename some constants for mongodb storage plugin

* [ISSUE #4099] Refactor constant imports in mongodb cloud event util

* [ISSUE #4099]: Replace contants imports to class import in mongo cloud event util

* fix import order.

* fix import order.

* fix import order.

* fix import order.

---------

Co-authored-by: Fabian Bao <[email protected]>
Co-authored-by: kyooosukedn <[email protected]>
Co-authored-by: Sam V Jose <[email protected]>
Co-authored-by: ruhshan <[email protected]>
xuhongjia pushed a commit to Deckers-Ohana/eventmesh that referenced this pull request Mar 13, 2025
xuhongjia pushed a commit to Deckers-Ohana/eventmesh that referenced this pull request Mar 13, 2025
* feat: add redis connector.

* feat: add redis connector.

* feat: add redis connector.

* feat: add redis connector.

* feat: add redis connector.

* [ISSUE apache#4023]Comparison using reference equality instead of value equality.[Operation] (apache#4276)

* [ISSUE apache#4269] Used switch to replace the if-else. [MeshMessageProtocolAdaptor] (apache#4270)

* [ISSUE apache#4269] Used switch to replace the if-else. [MeshMessageProtocolAdaptor]

* [ISSUE apache#4269] Used switch to replace the if-else. [MeshMessageProtocolAdaptor]

* [ISSUE apache#4269] Used switch to replace the if-else. [MeshMessageProtocolAdaptor]

* [ISSUE apache#4269] Used switch to replace the if-else. [MeshMessageProtocolAdaptor]

* [ISSUE apache#4099]Refactor re-used constant's usage from dedicated file (apache#4257)

* [ISSUE apache#4099]: Refactor re-used constant's usage from dedicated file

* [ISSUE apache#4099] Rename some constants for mongodb storage plugin

* [ISSUE apache#4099] Refactor constant imports in mongodb cloud event util

* [ISSUE apache#4099]: Replace contants imports to class import in mongo cloud event util

* fix import order.

* fix import order.

* fix import order.

* fix import order.

---------

Co-authored-by: Fabian Bao <[email protected]>
Co-authored-by: kyooosukedn <[email protected]>
Co-authored-by: Sam V Jose <[email protected]>
Co-authored-by: ruhshan <[email protected]>
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.

[Enhancement] Comparison using reference equality instead of value equality.[Operation]

5 participants