details:   https://code.openbravo.com/erp/devel/pi/rev/b017f9af7a2e
changeset: 21683:b017f9af7a2e
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Fri Dec 20 13:00:34 2013 +0100
summary:   related to issue 25387: reformat

details:   https://code.openbravo.com/erp/devel/pi/rev/ec5f0f762fb1
changeset: 21684:ec5f0f762fb1
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Fri Dec 20 13:01:30 2013 +0100
summary:   fixed bug 25387: unneeded flushes in view generation

diffstat:

 
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelUtils.java
 |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 337545057885 -r ec5f0f762fb1 
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelUtils.java
--- 
a/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelUtils.java
      Fri Dec 20 13:03:18 2013 +0100
+++ 
b/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelUtils.java
      Fri Dec 20 13:01:30 2013 +0100
@@ -392,7 +392,7 @@
       return null;
     }
 
-    ConnectionProvider connection = new DalConnectionProvider();
+    ConnectionProvider connection = new DalConnectionProvider(false);
     Tab targetTab = null;
     String tabId = null;
     try {
@@ -409,15 +409,16 @@
 
   /**
    * Returns the list of subtabs of a given tab
-   *
+   * 
    * @param tab
    *          The tab whose subtabs are to be retrieved
    * @param onlyFirstLevel
-   *          Boolean used to determine whether all the descendent tabs should 
be returned or only the next level ones
+   *          Boolean used to determine whether all the descendent tabs should 
be returned or only
+   *          the next level ones
    * @return The list of subtabs of the given tab, an empty List if the tab 
has none
    */
   public List<Tab> getTabSubtabs(Tab tab, boolean onlyFirstLevel) {
-    ConnectionProvider connection = new DalConnectionProvider();
+    ConnectionProvider connection = new DalConnectionProvider(false);
     Long seqno = tab.getSequenceNumber();
     Long tabLevel = tab.getTabLevel();
     String windowId = tab.getWindow().getId();

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to