Update README.md to be a bit more concise
This commit is contained in:
parent
a21b64c31c
commit
e979cbfbff
1 changed files with 2 additions and 3 deletions
|
@ -18,8 +18,7 @@ Here's simple example how you can use the `InfinispanContainer`.
|
|||
|
||||
```
|
||||
@ClassRule
|
||||
public static InfinispanContainer infinispan = new InfinispanContainer()
|
||||
.withProtocolVersion(ProtocolVersion.PROTOCOL_VERSION_26);
|
||||
public static InfinispanContainer infinispan = new InfinispanContainer();
|
||||
```
|
||||
## Cache creation
|
||||
|
||||
|
@ -28,7 +27,7 @@ using the API of the `RemoteCacheManager` provided by the Infinispan client libr
|
|||
They will automatically be created once the container has started.
|
||||
|
||||
```
|
||||
new InfinispanContainer()
|
||||
new InfinispanContainer(‚)
|
||||
.withProtocolVersion(ProtocolVersion.PROTOCOL_VERSION_26)
|
||||
.withCaches("testCache");
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue