diff options
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-vendor-license-lib/openecomp-sdc-vendor-license-api/src/main/java/org/openecomp/sdc/vendorlicense/VendorLicenseUtil.java')
-rw-r--r-- | openecomp-be/lib/openecomp-sdc-vendor-license-lib/openecomp-sdc-vendor-license-api/src/main/java/org/openecomp/sdc/vendorlicense/VendorLicenseUtil.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-vendor-license-lib/openecomp-sdc-vendor-license-api/src/main/java/org/openecomp/sdc/vendorlicense/VendorLicenseUtil.java b/openecomp-be/lib/openecomp-sdc-vendor-license-lib/openecomp-sdc-vendor-license-api/src/main/java/org/openecomp/sdc/vendorlicense/VendorLicenseUtil.java index 3ee326af4c..cb13f5de5a 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-license-lib/openecomp-sdc-vendor-license-api/src/main/java/org/openecomp/sdc/vendorlicense/VendorLicenseUtil.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-license-lib/openecomp-sdc-vendor-license-api/src/main/java/org/openecomp/sdc/vendorlicense/VendorLicenseUtil.java @@ -1,16 +1,11 @@ package org.openecomp.sdc.vendorlicense; -import org.openecomp.sdc.logging.context.impl.MdcDataDebugMessage; import java.text.ParseException; import java.text.SimpleDateFormat; public class VendorLicenseUtil { - - private static MdcDataDebugMessage mdcDataDebugMessage = new MdcDataDebugMessage(); - public static String getIsoFormatDate(String inputDate) { - mdcDataDebugMessage.debugEntryMessage("inputDate date", inputDate); String isoFormatDate = null; SimpleDateFormat isoDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'"); SimpleDateFormat inputDateFormat = new SimpleDateFormat("MM/dd/yyyy'T'HH:mm:ss'Z'"); @@ -18,11 +13,8 @@ public class VendorLicenseUtil { try { isoFormatDate = isoDateFormat.format(inputDateFormat.parse(inputDate)); } catch (ParseException e) { - mdcDataDebugMessage.debugExitMessage("parsing error", isoFormatDate); isoFormatDate = null; } - - mdcDataDebugMessage.debugExitMessage("formatted date", isoFormatDate); return isoFormatDate; } } |