@@ -33,7 +33,6 @@ public class LDUser {
3333 private JsonPrimitive firstName ;
3434 private JsonPrimitive lastName ;
3535 private JsonPrimitive anonymous ;
36-
3736 private JsonPrimitive country ;
3837 private Map <String , JsonElement > custom ;
3938 private static final Logger logger = LoggerFactory .getLogger (LDUser .class );
@@ -248,8 +247,8 @@ public Builder email(String email) {
248247 }
249248
250249 /**
251- * Add a {@link java.lang.String}-valued custom attribute
252- * @param k the key for the custom attribute
250+ * Add a {@link java.lang.String}-valued custom attribute.
251+ * @param k the key for the custom attribute. When set to one of the built-in user attribute keys, this custom attribute will be ignored.
253252 * @param v the value for the custom attribute
254253 * @return the builder
255254 */
@@ -262,7 +261,7 @@ public Builder custom(String k, String v) {
262261
263262 /**
264263 * Add a {@link java.lang.Number}-valued custom attribute
265- * @param k the key for the custom attribute
264+ * @param k the key for the custom attribute. When set to one of the built-in user attribute keys, this custom attribute will be ignored.
266265 * @param n the value for the custom attribute
267266 * @return the builder
268267 */
@@ -275,7 +274,7 @@ public Builder custom(String k, Number n) {
275274
276275 /**
277276 * Add a {@link java.lang.Boolean}-valued custom attribute
278- * @param k the key for the custom attribute
277+ * @param k the key for the custom attribute. When set to one of the built-in user attribute keys, this custom attribute will be ignored.
279278 * @param b the value for the custom attribute
280279 * @return the builder
281280 */
@@ -288,7 +287,7 @@ public Builder custom(String k, Boolean b) {
288287
289288 /**
290289 * Add a list of {@link java.lang.String}-valued custom attributes
291- * @param k the key for the list
290+ * @param k the key for the list. When set to one of the built-in user attribute keys, this custom attribute will be ignored.
292291 * @param vs the values for the attribute
293292 * @return the builder
294293 * @deprecated As of version 0.16.0, renamed to {@link #customString(String, List) customString}
@@ -299,7 +298,7 @@ public Builder custom(String k, List<String> vs) {
299298
300299 /**
301300 * Add a list of {@link java.lang.String}-valued custom attributes
302- * @param k the key for the list
301+ * @param k the key for the list. When set to one of the built-in user attribute keys, this custom attribute will be ignored.
303302 * @param vs the values for the attribute
304303 * @return the builder
305304 */
@@ -316,7 +315,7 @@ public Builder customString(String k, List<String> vs) {
316315
317316 /**
318317 * Add a list of {@link java.lang.Integer}-valued custom attributes
319- * @param k the key for the list
318+ * @param k the key for the list. When set to one of the built-in user attribute keys, this custom attribute will be ignored.
320319 * @param vs the values for the attribute
321320 * @return the builder
322321 */
0 commit comments