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

Commit a2794b9

Browse files
author
Dan Richelson
committed
Tweak log message. Update changelog + version
1 parent 63d0d97 commit a2794b9

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33

44
All notable changes to the LaunchDarkly Java SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
5+
## [2.1.0] - 2017-03-02
6+
### Added
7+
- LdClientInterface (and its implementation) have a new method: `boolean isFlagKnown(String featureKey)` which checks for a
8+
feature flag's existence. Thanks @yuv422!
9+
510
## [2.0.11] - 2017-02-24
611
### Changed
712
- EventProcessor now respects the connect and socket timeouts configured with LDConfig.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repositories {
1919

2020
allprojects {
2121
group = 'com.launchdarkly'
22-
version = "2.0.11"
22+
version = "2.1.0"
2323
sourceCompatibility = 1.7
2424
targetCompatibility = 1.7
2525
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public JsonElement jsonVariation(String featureKey, LDUser user, JsonElement def
311311
@Override
312312
public boolean isFlagKnown(String featureKey) {
313313
if (!initialized()) {
314-
logger.warn("Evaluation called before Client has been initialized for feature flag " + featureKey + "; returning unknown");
314+
logger.warn("isFlagKnown called before Client has been initialized for feature flag " + featureKey + "; returning false");
315315
return false;
316316
}
317317

0 commit comments

Comments
 (0)