Related to issue 19778.Fixes on FIN_Utility after rename of utils classes.
authorGorka Ion Damián <gorkaion.damian@openbravo.com>
Wed, 29 Feb 2012 12:46:36 +0100
changeset 15661 edd121f3d210
parent 15660 f84f857e2e54
child 15662 1e06e813fdc0
Related to issue 19778.Fixes on FIN_Utility after rename of utils classes.
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java	Wed Feb 29 12:28:09 2012 +0100
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java	Wed Feb 29 12:46:36 2012 +0100
@@ -49,9 +49,9 @@
 import org.openbravo.dal.service.OBCriteria;
 import org.openbravo.dal.service.OBDal;
 import org.openbravo.data.FieldProvider;
-import org.openbravo.erpCommon.utility.DateUtility;
 import org.openbravo.erpCommon.utility.FieldProviderFactory;
-import org.openbravo.erpCommon.utility.MessageUtility;
+import org.openbravo.erpCommon.utility.OBDateUtils;
+import org.openbravo.erpCommon.utility.OBMessageUtils;
 import org.openbravo.erpCommon.utility.Utility;
 import org.openbravo.model.ad.system.Client;
 import org.openbravo.model.ad.utility.Sequence;
@@ -76,11 +76,11 @@
   private static AdvPaymentMngtDao dao;
 
   /**
-   * @see DateUtility#getDate(String)
+   * @see OBDateUtils#getDate(String)
    */
   public static Date getDate(String strDate) {
     try {
-      return DateUtility.getDate(strDate);
+      return OBDateUtils.getDate(strDate);
     } catch (ParseException e) {
       log4j.error("Error parsing date", e);
       return null;
@@ -89,11 +89,11 @@
   }
 
   /**
-   * @see DateUtility#getDateTime(String)
+   * @see OBDateUtils#getDateTime(String)
    */
   public static Date getDateTime(String strDate) {
     try {
-      return DateUtility.getDateTime(strDate);
+      return OBDateUtils.getDateTime(strDate);
     } catch (ParseException e) {
       log4j.error("Error parsing date", e);
       return null;
@@ -583,10 +583,10 @@
   }
 
   /**
-   * @see MessageUtility#messageBD(String)
+   * @see OBMessageUtils#messageBD(String)
    */
   public static String messageBD(String strCode) {
-    return MessageUtility.messageBD(strCode);
+    return OBMessageUtils.messageBD(strCode);
   }
 
   /**