Skip to content

Commit 1893b7d

Browse files
committed
README.md update as per latest code
1 parent 09b291b commit 1893b7d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Include the dependency into your project:
1111
<dependency>
1212
<groupId>io.github.s-sathish</groupId>
1313
<artifactId>redlock-java</artifactId>
14-
<version>1.0.3</version>
14+
<version>1.0.4</version>
1515
</dependency>
1616
```
1717

@@ -24,11 +24,11 @@ RedLock redLock = new RedLock();
2424
To acquire a lock:
2525

2626
```java
27-
String lockResult = redLock.lock("redlock");
27+
LockResult lockResult = redLock.lock("redlock");
2828
```
2929

3030
To release a lock:
3131

3232
```java
33-
List<Object> releaseLockResult = redLock.release("redlock", lockResult);
33+
redLock.release("redlock", lockResult.getValue());
3434
```

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>io.github.s-sathish</groupId>
66
<artifactId>redlock-java</artifactId>
7-
<version>1.0.3</version>
7+
<version>1.0.4</version>
88
<name>RedLock-Java</name>
99
<description>RedLock in Java</description>
1010
<url>https://github.com/s-sathish/redlock-java</url>
@@ -44,7 +44,7 @@
4444
<connection>scm:git:git@github.com:s-sathish/redlock-java.git</connection>
4545
<url>scm:git:git@github.com:s-sathish/redlock-java.git</url>
4646
<developerConnection>scm:git:git@github.com:s-sathish/redlock-java.git</developerConnection>
47-
<tag>redlock-java-1.0.3</tag>
47+
<tag>redlock-java-1.0.4</tag>
4848
</scm>
4949

5050
<properties>

0 commit comments

Comments
 (0)