Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ feature flagging and experimentation for Eppo customers. An API key is required

```groovy
dependencies {
implementation 'cloud.eppo:android-sdk:4.10.2'
implementation 'cloud.eppo:android-sdk:4.11.0'
}

dependencyResolutionManagement {
Expand Down
4 changes: 2 additions & 2 deletions eppo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "cloud.eppo"
version = "4.10.3-SNAPSHOT"
version = "4.11.0"

android {
buildFeatures.buildConfig true
Expand Down Expand Up @@ -68,7 +68,7 @@ ext.versions = [
]

dependencies {
api 'cloud.eppo:sdk-common-jvm:3.12.2'
api 'cloud.eppo:sdk-common-jvm:3.13.0'

implementation 'org.slf4j:slf4j-api:2.0.17'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,19 @@ public void put(String cacheKey, @NonNull String serializedEntry) {
public String get(String cacheKey) {
return cache.get(cacheKey);
}

@Override
public boolean putIfAbsent(String cacheKey, @NonNull String serializedEntry) {
boolean hadNoPreviousEntry;
synchronized (cache) {
String entry = cache.get(cacheKey);
hadNoPreviousEntry = entry == null;
if (hadNoPreviousEntry) {
cache.put(cacheKey, serializedEntry);
}
}
return hadNoPreviousEntry;
}
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this part of the release?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no. artifact from understacked PR which is now merged.

}
}
Loading