Code Review
/
dmaap
/
dbcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Match decompress argument of DR API
[dmaap/dbcapi.git]
/
src
/
main
/
java
/
org
/
onap
/
dmaap
/
dbcapi
/
model
/
DR_Sub.java
diff --git
a/src/main/java/org/onap/dmaap/dbcapi/model/DR_Sub.java
b/src/main/java/org/onap/dmaap/dbcapi/model/DR_Sub.java
index
8ac0880
..
90da956
100644
(file)
--- a/
src/main/java/org/onap/dmaap/dbcapi/model/DR_Sub.java
+++ b/
src/main/java/org/onap/dmaap/dbcapi/model/DR_Sub.java
@@
-45,7
+45,7
@@
public class DR_Sub extends DmaapObject {
private boolean guaranteedDelivery;
private boolean guaranteedSequence;
private boolean privilegedSubscriber;
private boolean guaranteedDelivery;
private boolean guaranteedSequence;
private boolean privilegedSubscriber;
- private boolean decompress
Data
;
+ private boolean decompress;
// NOTE: the following fields are optional in the API but not stored in the DB
// NOTE: the following fields are optional in the API but not stored in the DB
@@
-116,9
+116,9
@@
public class DR_Sub extends DmaapObject {
this.setPrivilegedSubscriber(false);
}
try {
this.setPrivilegedSubscriber(false);
}
try {
- this.setDecompress
Data((boolean) jsonObj.get("decompressData
"));
+ this.setDecompress
((boolean) jsonObj.get("decompress
"));
} catch( NullPointerException npe ) {
} catch( NullPointerException npe ) {
- this.setDecompress
Data
(false);
+ this.setDecompress(false);
}
JSONObject del = (JSONObject) jsonObj.get("delivery");
}
JSONObject del = (JSONObject) jsonObj.get("delivery");
@@
-239,12
+239,12
@@
public class DR_Sub extends DmaapObject {
this.privilegedSubscriber = privilegedSubscriber;
}
this.privilegedSubscriber = privilegedSubscriber;
}
- public boolean isDecompress
Data
() {
- return decompress
Data
;
+ public boolean isDecompress() {
+ return decompress;
}
}
- public void setDecompress
Data
(boolean decompressData) {
- this.decompress
Data
= decompressData;
+ public void setDecompress(boolean decompressData) {
+ this.decompress = decompressData;
}
public String getFeedName() {
}
public String getFeedName() {
@@
-286,7
+286,7
@@
public class DR_Sub extends DmaapObject {
,"0"
,"true"
,this.isPrivilegedSubscriber()
,"0"
,"true"
,this.isPrivilegedSubscriber()
- ,this.isDecompress
Data
()
+ ,this.isDecompress()
);
logger.info( postJSON );
);
logger.info( postJSON );