details:   https://code.openbravo.com/erp/devel/pi/rev/864ef8d7eee8
changeset: 32264:864ef8d7eee8
user:      Carlos Aristu <carlos.aristu <at> openbravo.com>
date:      Mon Jun 05 13:38:50 2017 +0200
summary:   related to bug 36141: use variable instead of invoking the method 
again

diffstat:

 src/org/openbravo/service/web/BaseWebServiceServlet.java |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 5c4f5ae5570d -r 864ef8d7eee8 
src/org/openbravo/service/web/BaseWebServiceServlet.java
--- a/src/org/openbravo/service/web/BaseWebServiceServlet.java  Mon Jun 05 
10:58:06 2017 +0200
+++ b/src/org/openbravo/service/web/BaseWebServiceServlet.java  Mon Jun 05 
13:38:50 2017 +0200
@@ -107,7 +107,7 @@
           if (maxExpireInterval == 0) {
             session.invalidate();
           } else {
-            session.setMaxInactiveInterval(getWSInactiveInterval());
+            session.setMaxInactiveInterval(maxExpireInterval);
           }
         }
       }

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to