aboutsummaryrefslogtreecommitdiffstats
path: root/ONAP-REST/src/main/java/org/onap/policy/rest/adapter/ServiceListJson.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/adapter/ServiceListJson.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/adapter/ServiceListJson.java')
-rw-r--r--ONAP-REST/src/main/java/org/onap/policy/rest/adapter/ServiceListJson.java170
1 files changed, 85 insertions, 85 deletions
diff --git a/ONAP-REST/src/main/java/org/onap/policy/rest/adapter/ServiceListJson.java b/ONAP-REST/src/main/java/org/onap/policy/rest/adapter/ServiceListJson.java
index f80f51908..0ca4ce6b9 100644
--- a/ONAP-REST/src/main/java/org/onap/policy/rest/adapter/ServiceListJson.java
+++ b/ONAP-REST/src/main/java/org/onap/policy/rest/adapter/ServiceListJson.java
@@ -24,90 +24,90 @@ package org.onap.policy.rest.adapter;
public class ServiceListJson {
- protected String name;
- protected String description;
- protected String type;
- protected String transportProtocol;
- protected String appProtocol;
- protected String ports;
- // name
- public String getName() {
- return name;
- }
-
- public void setName(String value) {
- this.name = value;
- }
-
- @Override
- public boolean equals(Object obj){
- if(obj == null){
- return false;
- }
- if(this.getClass() != obj.getClass()){
- return false;
- }
- ServiceListJson servobj=(ServiceListJson) obj;
- if(this.getName().equals(servobj.getName())){
- return true;
- }
- return false;
- }
-
- @Override
- public int hashCode() {
- if(name!=null){
- return Integer.valueOf(name.charAt(0)+(name.charAt(1)));
- }else{
- return 0;
- }
- }
-
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- // type
- public String getType() {
- return type;
- }
-
- public void setType(String value) {
- this.type = value;
- }
-
- // transportProtocol
- public String getTransportProtocol() {
- return transportProtocol;
- }
-
- public void setTransportProtocol(String value) {
- this.transportProtocol = value;
- }
-
- // appProtocol
- public String getAppProtocol() {
- return appProtocol;
- }
-
- public void setAppProtocol(String value) {
- this.appProtocol = value;
- }
-
- // ports
- public String getPorts() {
- return ports;
- }
-
- public void setPorts(String value) {
- this.ports = value;
- }
-
-
+ protected String name;
+ protected String description;
+ protected String type;
+ protected String transportProtocol;
+ protected String appProtocol;
+ protected String ports;
+ // name
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ @Override
+ public boolean equals(Object obj){
+ if(obj == null){
+ return false;
+ }
+ if(this.getClass() != obj.getClass()){
+ return false;
+ }
+ ServiceListJson servobj=(ServiceListJson) obj;
+ if(this.getName().equals(servobj.getName())){
+ return true;
+ }
+ return false;
+ }
+
+ @Override
+ public int hashCode() {
+ if(name!=null){
+ return Integer.valueOf(name.charAt(0)+(name.charAt(1)));
+ }else{
+ return 0;
+ }
+ }
+
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ // type
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String value) {
+ this.type = value;
+ }
+
+ // transportProtocol
+ public String getTransportProtocol() {
+ return transportProtocol;
+ }
+
+ public void setTransportProtocol(String value) {
+ this.transportProtocol = value;
+ }
+
+ // appProtocol
+ public String getAppProtocol() {
+ return appProtocol;
+ }
+
+ public void setAppProtocol(String value) {
+ this.appProtocol = value;
+ }
+
+ // ports
+ public String getPorts() {
+ return ports;
+ }
+
+ public void setPorts(String value) {
+ this.ports = value;
+ }
+
+
}