Code Review
/
music.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Some bug fixes and Minor Chages.
[music.git]
/
src
/
main
/
java
/
org
/
onap
/
music
/
datastore
/
jsonobjects
/
JsonLeasedLock.java
diff --git
a/src/main/java/org/onap/music/datastore/jsonobjects/JsonLeasedLock.java
b/src/main/java/org/onap/music/datastore/jsonobjects/JsonLeasedLock.java
index
06a76f5
..
86bbe3d
100644
(file)
--- a/
src/main/java/org/onap/music/datastore/jsonobjects/JsonLeasedLock.java
+++ b/
src/main/java/org/onap/music/datastore/jsonobjects/JsonLeasedLock.java
@@
-27,11
+27,10
@@
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
-@ApiModel(value = "Json
Table
", description = "model for leased lock")
+@ApiModel(value = "Json
Leasesd Lock
", description = "model for leased lock")
@JsonIgnoreProperties(ignoreUnknown = true)
public class JsonLeasedLock {
@JsonIgnoreProperties(ignoreUnknown = true)
public class JsonLeasedLock {
- long leasePeriod;
- String notifyUrl;
+ private long leasePeriod;
@ApiModelProperty(value = "Lease period")
public long getLeasePeriod() {
@ApiModelProperty(value = "Lease period")
public long getLeasePeriod() {
@@
-42,12
+41,4
@@
public class JsonLeasedLock {
this.leasePeriod = leasePeriod;
}
this.leasePeriod = leasePeriod;
}
- @ApiModelProperty(value = "URL to be notified")
- public String getNotifyUrl() {
- return notifyUrl;
- }
-
- public void setNotifyUrl(String notifyUrl) {
- this.notifyUrl = notifyUrl;
- }
}
}