aboutsummaryrefslogtreecommitdiffstats
path: root/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/PortList.java
diff options
context:
space:
mode:
authorKrishnajinka <kris.jinka@samsung.com>2018-07-30 13:18:06 +0900
committerKrishnajinka <kris.jinka@samsung.com>2018-07-31 10:47:24 +0900
commit023280727ac52e777b4128d726e212c9e8abd435 (patch)
treea85f1af023929cc9ae0076dea5c5d2da2cd5d568 /ONAP-REST/src/main/java/org/onap/policy/rest/jpa/PortList.java
parent1ecf9de8c889adb2dbc9ddd9a79d28e1da89d87b (diff)
Convert tabs to spaces basic refactoring
Change tabs into spaces for checkstyle fixes in ONAP REST module of policy engine. These changes come in way for review. Hence doing them before refactoring is better. Issue-ID: POLICY-1014 Change-Id: I31a372ae527946927157bc23b576f3066679b0ae Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
Diffstat (limited to 'ONAP-REST/src/main/java/org/onap/policy/rest/jpa/PortList.java')
-rw-r--r--ONAP-REST/src/main/java/org/onap/policy/rest/jpa/PortList.java62
1 files changed, 31 insertions, 31 deletions
diff --git a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/PortList.java b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/PortList.java
index 64c892921..93732ffcd 100644
--- a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/PortList.java
+++ b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/PortList.java
@@ -36,41 +36,41 @@ import javax.persistence.Table;
@Table(name="portlist")
@NamedQuery(name="PortList.findAll", query="SELECT e FROM PortList e ")
public class PortList implements Serializable {
- private static final long serialVersionUID = 1L;
+ private static final long serialVersionUID = 1L;
- @Id
- @GeneratedValue(strategy = GenerationType.AUTO)
- @Column(name="id")
- private int id;
-
- @Column(name="portname", nullable=false)
- @OrderBy("asc")
- private String portName;
-
- @Column(name="description")
- private String description;
+ @Id
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ @Column(name="id")
+ private int id;
- public int getId() {
- return this.id;
- }
+ @Column(name="portname", nullable=false)
+ @OrderBy("asc")
+ private String portName;
- public void setId(int id) {
- this.id = id;
- }
- public String getPortName() {
- return this.portName;
- }
+ @Column(name="description")
+ private String description;
- public void setPortName(String portName) {
- this.portName = portName;
+ public int getId() {
+ return this.id;
+ }
- }
- public String getDescription() {
- return this.description;
- }
+ public void setId(int id) {
+ this.id = id;
+ }
+ public String getPortName() {
+ return this.portName;
+ }
+
+ public void setPortName(String portName) {
+ this.portName = portName;
+
+ }
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
- public void setDescription(String description) {
- this.description = description;
- }
-
}