-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event#toMap should return copy #5296
Conversation
I think we need to verify current usages of |
ah, I forgot about this one that I changed in the previous PR. will update |
@colinsurprenant thanks, updated. I see no other usages |
@@ -4,6 +4,9 @@ | |||
|
|||
import java.io.IOException; | |||
import java.util.*; | |||
|
|||
import static org.hamcrest.CoreMatchers.not; | |||
import static org.hamcrest.core.IsSame.sameInstance; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are we introducing a new org.hamcrest
dependency?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like it has already been included. I just autocompleted. unless I am mistaken?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I liked the sameInstance
assertion from there, so I started typing it. and it worked. so I stuck with it
Looks like it is somehow shadowed inside the |
I don't really mind if we introduce a new testCompile dep but I am not sure how this can work if it is not included in |
It is being brought in by |
well. it doesn't matter anymore. I removed the code dependency |
LGTM |
No description provided.