summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/db/exception/ErrorCodeException.java13
-rw-r--r--vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/entity/response/PackageMeta.java32
2 files changed, 17 insertions, 28 deletions
diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/db/exception/ErrorCodeException.java b/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/db/exception/ErrorCodeException.java
index 9921a8cb..85d486c9 100644
--- a/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/db/exception/ErrorCodeException.java
+++ b/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/db/exception/ErrorCodeException.java
@@ -23,18 +23,6 @@ public class ErrorCodeException extends Exception {
private final int errorCode;
private final String[] arguments;
- private static String defaultText = null;
-
-
- public static void setDefaultText(String text) {
- defaultText = text;
- }
-
-
- public static String getDefaultText() {
- return defaultText;
- }
-
public ErrorCodeException(int code, String debugMessage) {
this(code, debugMessage, null);
@@ -145,3 +133,4 @@ public class ErrorCodeException extends Exception {
}
}
+
diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/entity/response/PackageMeta.java b/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/entity/response/PackageMeta.java
index 49b78429..e094fc87 100644
--- a/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/entity/response/PackageMeta.java
+++ b/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/entity/response/PackageMeta.java
@@ -82,14 +82,6 @@ public class PackageMeta {
this.size = size;
}
- public String getVersion() {
- return version;
- }
-
- public void setVersion(String version) {
- this.version = version;
- }
-
public String getProvider() {
return provider;
}
@@ -98,6 +90,14 @@ public class PackageMeta {
this.provider = provider;
}
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
public String getType() {
return type;
}
@@ -139,6 +139,13 @@ public class PackageMeta {
}
+ public String getDetails() {
+ return details;
+ }
+
+ public void setDetails(String details) {
+ this.details = details;
+ }
public String getShortDesc() {
return shortDesc;
@@ -148,14 +155,6 @@ public class PackageMeta {
this.shortDesc = shortDesc;
}
- public String getDetails() {
- return details;
- }
-
- public void setDetails(String details) {
- this.details = details;
- }
-
public String getRemarks() {
return remarks;
}
@@ -182,3 +181,4 @@ public class PackageMeta {
}
}
+