diff options
author | Jorge Hernandez <jh1730@att.com> | 2018-02-01 19:43:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-02-01 19:43:13 +0000 |
commit | d9b21bad7e932ee60a8f2c64ca42d42cc9eac2cc (patch) | |
tree | 2737611fbb15a9160df8710926c0ce1b2df62517 /ONAP-PAP-REST/src | |
parent | 06f456d8d06840a21f48531b0bd35b1a429b10f9 (diff) | |
parent | 1148834bc4b10d00c1b1830b087357e63af8293f (diff) |
Merge "Included Policy GUI Enhancements and validations"
Diffstat (limited to 'ONAP-PAP-REST/src')
-rw-r--r-- | ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/util/AbstractPolicyCreation.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/util/AbstractPolicyCreation.java b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/util/AbstractPolicyCreation.java index aa33729c9..0c98a44a3 100644 --- a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/util/AbstractPolicyCreation.java +++ b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/util/AbstractPolicyCreation.java @@ -44,6 +44,8 @@ public abstract class AbstractPolicyCreation { String formateDate = null; if(dateTTL.contains("/")){ formateDate = dateTTL.replace("/", "-"); + }else { + formateDate = dateTTL; } return formateDate; } |