Related to issue 19545. Readded deprecation, but without the warnings
authorAntonio Moreno <antonio.moreno@openbravo.com>
Thu, 16 Feb 2012 12:40:02 +0100
changeset 15523 60dc2b18fc07
parent 15522 459c8c6700f5
child 15524 39d995c11fff
Related to issue 19545. Readded deprecation, but without the warnings
src/org/openbravo/erpCommon/ad_process/AlertProcess.java
src/org/openbravo/erpCommon/businessUtility/EMail.java
--- a/src/org/openbravo/erpCommon/ad_process/AlertProcess.java	Thu Feb 16 12:11:22 2012 +0100
+++ b/src/org/openbravo/erpCommon/ad_process/AlertProcess.java	Thu Feb 16 12:40:02 2012 +0100
@@ -93,7 +93,7 @@
    * @param conn
    * @throws Exception
    */
-  @SuppressWarnings("unchecked")
+  @SuppressWarnings({ "unchecked", "deprecation" })
   private void processAlert(AlertProcessData alertRule, ConnectionProvider conn) throws Exception {
     logger.log("Processing rule " + alertRule.name + "\n");
 
--- a/src/org/openbravo/erpCommon/businessUtility/EMail.java	Thu Feb 16 12:11:22 2012 +0100
+++ b/src/org/openbravo/erpCommon/businessUtility/EMail.java	Thu Feb 16 12:40:02 2012 +0100
@@ -44,8 +44,9 @@
 import com.sun.mail.smtp.SMTPMessage;
 
 /**
- * @Deprecated since Openbravo 3.0MP9, related to @deprecated code in AlertProcess.java
+ * Since Openbravo 3.0MP9, related to @deprecated code in PrintController.java
  */
+@Deprecated
 public class EMail {
   static Logger log4j = Logger.getLogger(EMail.class);
   private String g_from;