Code Review
/
portal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Coverity Scan issues fix
[portal.git]
/
portal-BE
/
src
/
main
/
java
/
org
/
onap
/
portal
/
domain
/
db
/
fn
/
FnLuAlertMethod.java
diff --git
a/portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnLuAlertMethod.java
b/portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnLuAlertMethod.java
index
bc3ef68
..
740f052
100644
(file)
--- a/
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnLuAlertMethod.java
+++ b/
portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnLuAlertMethod.java
@@
-40,8
+40,8
@@
package org.onap.portal.domain.db.fn;
package org.onap.portal.domain.db.fn;
-import java.
util.ArrayList
;
-import java.util.
Lis
t;
+import java.
io.Serializable
;
+import java.util.
Se
t;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
@@
-71,7
+71,7
@@
CREATE TABLE `fn_lu_alert_method` (
@Getter
@Setter
@Entity
@Getter
@Setter
@Entity
-public class FnLuAlertMethod {
+public class FnLuAlertMethod
implements Serializable
{
@Id
@Column(name = "alert_method_cd", length = 10, nullable = false)
@Size(max = 50)
@Id
@Column(name = "alert_method_cd", length = 10, nullable = false)
@Size(max = 50)
@@
-89,5
+89,5
@@
public class FnLuAlertMethod {
cascade = CascadeType.ALL,
fetch = FetchType.LAZY
)
cascade = CascadeType.ALL,
fetch = FetchType.LAZY
)
- private
List<FnUser> fnUsers = new ArrayList<>()
;
+ private
Set<FnUser> fnUsers
;
}
}