diff --git a/src/main/java/com/launchdarkly/client/LDUser.java b/src/main/java/com/launchdarkly/client/LDUser.java index 08bae0c81..7e2e1709d 100644 --- a/src/main/java/com/launchdarkly/client/LDUser.java +++ b/src/main/java/com/launchdarkly/client/LDUser.java @@ -291,7 +291,7 @@ public Builder custom(String k, Boolean b) { * @param k the key for the list * @param vs the values for the attribute * @return the builder - * @deprecated As of version 0.16.0, renamed to {@link #customString(String, List)} + * @deprecated As of version 0.16.0, renamed to {@link #customString(String, List) customString} */ public Builder custom(String k, List vs) { return this.customString(k, vs); @@ -320,9 +320,9 @@ public Builder customString(String k, List vs) { * @param vs the values for the attribute * @return the builder */ - public Builder customInt(String k, List vs) { + public Builder customNumber(String k, List vs) { JsonArray array = new JsonArray(); - for (Integer v : vs) { + for (Number v : vs) { if (v != null) { array.add(new JsonPrimitive(v)); }