Set loggedInUser via Reconciler.
This commit is contained in:
parent
28b1903acc
commit
bfe4c2bb32
10 changed files with 111 additions and 74 deletions
|
|
@ -327,6 +327,18 @@ public class GsonPtr {
|
|||
return set(selector, new JsonPrimitive(value));
|
||||
}
|
||||
|
||||
/**
|
||||
* Short for `set(selector, new JsonPrimitive(value))`.
|
||||
*
|
||||
* @param selector the selector
|
||||
* @param value the value
|
||||
* @return the gson ptr
|
||||
* @see #set(Object, JsonElement)
|
||||
*/
|
||||
public GsonPtr set(Object selector, Boolean value) {
|
||||
return set(selector, new JsonPrimitive(value));
|
||||
}
|
||||
|
||||
/**
|
||||
* Same as {@link #set(Object, JsonElement)}, but sets the value
|
||||
* only if it doesn't exist yet, else returns the existing value.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue