Skip to content

Commit 86d83ee

Browse files
author
Feng Shang
committed
doc: update readme, use codecov
1 parent 71c875b commit 86d83ee

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# FeatureProbe Server Side SDK for Java
2-
[![Coverage Status](https://coveralls.io/repos/github/FeatureProbe/server-sdk-java/badge.svg?branch=main)](https://coveralls.io/github/FeatureProbe/server-sdk-java?branch=main)
2+
[![codecov](https://codecov.io/gh/FeatureProbe/server-sdk-java/branch/main/graph/badge.svg?token=WZC3ZS6NNL)](https://codecov.io/gh/FeatureProbe/server-sdk-java)
33
[![GitHub Star](https://img.shields.io/github/stars/FeatureProbe/server-sdk-java)](https://github.com/FeatureProbe/server-sdk-java/stargazers)
44
[![License](https://img.shields.io/github/license/FeatureProbe/server-sdk-java)](https://github.com/FeatureProbe/server-sdk-java/blob/main/LICENSE)
55

@@ -44,7 +44,7 @@ public class Demo {
4444
.useMemoryRepository()
4545
.build();
4646

47-
private static final FeatureProbe fpClient = new FeatureProbe("server-61db54ecea79824cae3ac38d73f1961d698d0477",
47+
private static final FeatureProbe fpClient = new FeatureProbe("server-8ed48815ef044428826787e9a238b9c6a479f98c",
4848
config);
4949
}
5050
```
@@ -61,18 +61,18 @@ public class Demo {
6161
.useMemoryRepository()
6262
.build();
6363

64-
private static final FeatureProbe fpClient = new FeatureProbe("server-61db54ecea79824cae3ac38d73f1961d698d0477",
64+
private static final FeatureProbe fpClient = new FeatureProbe("server-8ed48815ef044428826787e9a238b9c6a479f98c",
6565
config);
6666

6767
public void test() {
68-
FPUser user = new FPUser("user_unique");
68+
FPUser user = new FPUser("user_unique_id");
6969
user.with("userId", "9876");
7070
user.with("tel", "12345678998");
7171
boolean boolValue = fpClient.boolValue("bool_toggle_key", user, false);
7272
if (boolValue) {
73-
#application code to show the feature
73+
// application code to show the feature
7474
} else {
75-
#the code to run if the feature is off
75+
// the code to run if the feature is off
7676
}
7777
}
7878
}

0 commit comments

Comments
 (0)