Update README.md to be a bit more concise

This commit is contained in:
Reinhard Prechtl 2017-12-26 20:27:33 +01:00
parent a21b64c31c
commit e979cbfbff

View file

@ -18,8 +18,7 @@ Here's simple example how you can use the `InfinispanContainer`.
``` ```
@ClassRule @ClassRule
public static InfinispanContainer infinispan = new InfinispanContainer() public static InfinispanContainer infinispan = new InfinispanContainer();
.withProtocolVersion(ProtocolVersion.PROTOCOL_VERSION_26);
``` ```
## Cache creation ## 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. They will automatically be created once the container has started.
``` ```
new InfinispanContainer() new InfinispanContainer()
.withProtocolVersion(ProtocolVersion.PROTOCOL_VERSION_26) .withProtocolVersion(ProtocolVersion.PROTOCOL_VERSION_26)
.withCaches("testCache"); .withCaches("testCache");
``` ```