Skip to content

Commit

Permalink
Fix contextProvider not being in code block (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
MLutt committed Jul 5, 2021
1 parent 3a50f35 commit 39b3b07
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions websitev2/docs/sdks/java.md
Expand Up @@ -78,9 +78,8 @@ This is a bit more advanced approach, where you configure a unleash-context prov

The provider typically binds the context to the same thread as the request. If you are using Spring the UnleashContextProvider will typically be a ‘request scoped’ bean.

UnleashContextProvider contextProvider = new MyAwesomeContextProvider();

```java
UnleashContextProvider contextProvider = new MyAwesomeContextProvider();
UnleashConfig config = new UnleashConfig.Builder()
.appName("java-test")
.instanceId("instance x")
Expand Down

0 comments on commit 39b3b07

Please sign in to comment.