Skip to content

Commit 25dfa07

Browse files
Update constructor to use ? instead of object - reverting
1 parent bd41dd1 commit 25dfa07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core-api/src/main/java/com/optimizely/ab/Optimizely.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,7 @@ public Variation getFlagVariationByKey(String flagKey, String variationKey) {
13611361
* @return copy of attributes
13621362
*/
13631363
private Map<String, ?> copyAttributes(Map<String, ?> attributes) {
1364-
Map<String, Object> copiedAttributes = null;
1364+
Map<String, ?> copiedAttributes = null;
13651365
if (attributes != null) {
13661366
copiedAttributes = new HashMap<>(attributes);
13671367
}

0 commit comments

Comments
 (0)