details:   https://code.openbravo.com/erp/devel/pi/rev/60dc2b18fc07
changeset: 15504:60dc2b18fc07
user:      Antonio Moreno <antonio.moreno <at> openbravo.com>
date:      Thu Feb 16 12:40:02 2012 +0100
summary:   Related to issue 19545. Readded deprecation, but without the warnings

diffstat:

 src/org/openbravo/erpCommon/ad_process/AlertProcess.java |  2 +-
 src/org/openbravo/erpCommon/businessUtility/EMail.java   |  3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 459c8c6700f5 -r 60dc2b18fc07 
src/org/openbravo/erpCommon/ad_process/AlertProcess.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");
 
diff -r 459c8c6700f5 -r 60dc2b18fc07 
src/org/openbravo/erpCommon/businessUtility/EMail.java
--- 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;

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to