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

Commit

Permalink
AllFlags no longer returns null when client is offline.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Richelson committed Dec 21, 2016
1 parent 2f89b0d commit f3e4e19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/launchdarkly/client/LDClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ public Map<String, JsonElement> allFlags(LDUser user) {

if (!initialized()) {
logger.warn("allFlags() was called before Client has been initialized! Returning null.");
return null;
}

if (user == null || user.getKey() == null) {
Expand Down

0 comments on commit f3e4e19

Please sign in to comment.