-
Notifications
You must be signed in to change notification settings - Fork 32
Refact: Copying attributes into new copiedAttributes variable #227
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
Conversation
Pull Request Test Coverage Report for Build 694
💛 - Coveralls |
Pull Request Test Coverage Report for Build 750
💛 - Coveralls |
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.
Is there any reason we don't perform the copy inside of the filterAttributes
methods? That way we don't have to be calling two methods all over the place. Maybe the naming could change, @thomaszurkan-optimizely any thoughts?
@@ -818,6 +827,20 @@ public UserProfileService getUserProfileService() { | |||
|
|||
//======== Helper methods ========// | |||
|
|||
/** | |||
* Helper function to check that the provided attributes are null if not than it returns a copy |
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.
This description is wrong =)
# Conflicts: # core-api/src/main/java/com/optimizely/ab/Optimizely.java
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.
LGTM
No description provided.