details:   https://code.openbravo.com/erp/devel/pi/rev/ea235d08e58c
changeset: 15088:ea235d08e58c
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Tue Jan 10 13:11:21 2012 +0100
summary:   Related to issue 19406: removed unneeded parameter in callout

diffstat:

 src/org/openbravo/erpCommon/ad_callouts/EmailConfiguration_Port.java |  6 
++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 33855ed49422 -r ea235d08e58c 
src/org/openbravo/erpCommon/ad_callouts/EmailConfiguration_Port.java
--- a/src/org/openbravo/erpCommon/ad_callouts/EmailConfiguration_Port.java      
Mon Jan 09 21:26:24 2012 +0100
+++ b/src/org/openbravo/erpCommon/ad_callouts/EmailConfiguration_Port.java      
Tue Jan 10 13:11:21 2012 +0100
@@ -21,8 +21,6 @@
 
 import javax.servlet.ServletException;
 
-import org.openbravo.base.secureApp.VariablesSecureApp;
-
 public class EmailConfiguration_Port extends SimpleCallout {
 
   private static final long serialVersionUID = 1L;
@@ -31,10 +29,10 @@
   protected void execute(CalloutInfo info) throws ServletException {
     String strSmtpConnectionSecurity = 
info.getStringParameter("inpsmtpconnectionsecurity", null);
 
-    info.addResult("inpsmtpport", getSuggestedPort(info.vars, 
strSmtpConnectionSecurity));
+    info.addResult("inpsmtpport", getSuggestedPort(strSmtpConnectionSecurity));
   }
 
-  private String getSuggestedPort(VariablesSecureApp vars, String 
strSmtpConnectionSecurity) {
+  private String getSuggestedPort(String strSmtpConnectionSecurity) {
     String recommendedPort = "";
     if (strSmtpConnectionSecurity.equals("N")) {
       recommendedPort = "25";

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to