Skip to content

Commit

Permalink
Merge pull request redis#166 from kevinsawicki/patch-1
Browse files Browse the repository at this point in the history
Fence code blocks in README with languages.
  • Loading branch information
xetorthio committed Aug 31, 2011
2 parents 8a5948a + f25901d commit 9d48a07
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,23 @@ You can download the latest build at:

Or use it as a maven dependency:

<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.0.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>

```xml
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.0.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
```

To use it just:

Jedis jedis = new Jedis("localhost");
jedis.set("foo", "bar");
String value = jedis.get("foo");
```java
Jedis jedis = new Jedis("localhost");
jedis.set("foo", "bar");
String value = jedis.get("foo");
```

For more usage examples check the tests.

Expand Down

0 comments on commit 9d48a07

Please sign in to comment.