Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit 9a82022

Browse files
author
Dan Richelson
committed
Add link to built-in attributes in comments. Revert accidentally committed manual test file.
1 parent a7d3db2 commit 9a82022

File tree

2 files changed

+20
-45
lines changed

2 files changed

+20
-45
lines changed

src/main/java/com/launchdarkly/client/LDUser.java

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,14 @@ public Builder email(String email) {
272272
}
273273

274274
/**
275-
* Add a {@link java.lang.String}-valued custom attribute.
275+
* Add a {@link java.lang.String}-valued custom attribute. When set to one of the
276+
* <a href="http://docs.launchdarkly.com/docs/targeting-users#targeting-based-on-user-attributes">
277+
* built-in user attribute keys</a>, this custom attribute will be ignored.
276278
*
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.
279+
* @param k the key for the custom attribute.
278280
* @param v the value for the custom attribute
279281
* @return the builder
282+
* @see
280283
*/
281284
public Builder custom(String k, String v) {
282285
checkCustomAttribute(k);
@@ -287,7 +290,9 @@ public Builder custom(String k, String v) {
287290
}
288291

289292
/**
290-
* Add a {@link java.lang.Number}-valued custom attribute
293+
* Add a {@link java.lang.Number}-valued custom attribute. When set to one of the
294+
* <a href="http://docs.launchdarkly.com/docs/targeting-users#targeting-based-on-user-attributes">
295+
* built-in user attribute keys</a>, this custom attribute will be ignored.
291296
*
292297
* @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.
293298
* @param n the value for the custom attribute
@@ -302,7 +307,9 @@ public Builder custom(String k, Number n) {
302307
}
303308

304309
/**
305-
* Add a {@link java.lang.Boolean}-valued custom attribute
310+
* Add a {@link java.lang.Boolean}-valued custom attribute. When set to one of the
311+
* <a href="http://docs.launchdarkly.com/docs/targeting-users#targeting-based-on-user-attributes">
312+
* built-in user attribute keys</a>, this custom attribute will be ignored.
306313
*
307314
* @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.
308315
* @param b the value for the custom attribute
@@ -317,7 +324,9 @@ public Builder custom(String k, Boolean b) {
317324
}
318325

319326
/**
320-
* Add a list of {@link java.lang.String}-valued custom attributes
327+
* Add a list of {@link java.lang.String}-valued custom attributes. When set to one of the
328+
* <a href="http://docs.launchdarkly.com/docs/targeting-users#targeting-based-on-user-attributes">
329+
* built-in user attribute keys</a>, this custom attribute will be ignored.
321330
*
322331
* @param k the key for the list. When set to one of the built-in user attribute keys, this custom attribute will be ignored.
323332
* @param vs the values for the attribute
@@ -330,7 +339,9 @@ public Builder custom(String k, List<String> vs) {
330339
}
331340

332341
/**
333-
* Add a list of {@link java.lang.String}-valued custom attributes
342+
* Add a list of {@link java.lang.String}-valued custom attributes. When set to one of the
343+
* <a href="http://docs.launchdarkly.com/docs/targeting-users#targeting-based-on-user-attributes">
344+
* built-in user attribute keys</a>, this custom attribute will be ignored.
334345
*
335346
* @param k the key for the list. When set to one of the built-in user attribute keys, this custom attribute will be ignored.
336347
* @param vs the values for the attribute
@@ -349,7 +360,9 @@ public Builder customString(String k, List<String> vs) {
349360
}
350361

351362
/**
352-
* Add a list of {@link java.lang.Integer}-valued custom attributes
363+
* Add a list of {@link java.lang.Integer}-valued custom attributes. When set to one of the
364+
* <a href="http://docs.launchdarkly.com/docs/targeting-users#targeting-based-on-user-attributes">
365+
* built-in user attribute keys</a>, this custom attribute will be ignored.
353366
*
354367
* @param k the key for the list. When set to one of the built-in user attribute keys, this custom attribute will be ignored.
355368
* @param vs the values for the attribute

src/test/java/com/launchdarkly/client/ManualTest.java

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)