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
Release patch 2.0.4
[dmaap/dbcapi.git]
/
src
/
main
/
java
/
org
/
onap
/
dmaap
/
dbcapi
/
model
/
MR_Client.java
diff --git
a/src/main/java/org/onap/dmaap/dbcapi/model/MR_Client.java
b/src/main/java/org/onap/dmaap/dbcapi/model/MR_Client.java
index
f182fd6
..
0631f07
100644
(file)
--- a/
src/main/java/org/onap/dmaap/dbcapi/model/MR_Client.java
+++ b/
src/main/java/org/onap/dmaap/dbcapi/model/MR_Client.java
@@
-64,11
+64,11
@@
public class MR_Client extends DmaapObject {
this.clientRole = cR;
int i = 0;
this.clientRole = cR;
int i = 0;
- if (
this.action == null
) {
+ if (
a != null
) {
this.action = new String[a.length];
this.action = new String[a.length];
- }
- for( String aa : a ) {
- this.action[i++] = new String( aa );
+ for (String aa : a) {
+ this.action[i++] = new String(aa);
+ }
}
this.setStatus( DmaapObject_Status.NEW );
this.mrClientId = DatabaseClass.getNextClientId();
}
this.setStatus( DmaapObject_Status.NEW );
this.mrClientId = DatabaseClass.getNextClientId();