details:   https://code.openbravo.com/erp/devel/pi/rev/5438f39cd047
changeset: 15932:5438f39cd047
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Wed Mar 28 15:09:37 2012 +0200
summary:   Related to issue 20029: Changed signature of some functions from 
public to private

Of the four functions created in the previous changeset 
(f3875cc346c0924426a963a85e31d9be0d1f387e), only one of them should be public. 
The other three functions have been changed to private, because they are only 
called from inside the class.

diffstat:

 
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewTab.java
 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 14aebcd32052 -r 5438f39cd047 
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewTab.java
--- 
a/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewTab.java
       Wed Mar 28 13:21:37 2012 +0200
+++ 
b/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewTab.java
       Wed Mar 28 15:09:37 2012 +0200
@@ -283,7 +283,7 @@
     return childTabs;
   }
 
-  public boolean hasAlwaysVisibleChildTab() {
+  private boolean hasAlwaysVisibleChildTab() {
     boolean hasVisibleChildTab = false;
     for (OBViewTab childTab : this.getChildTabs()) {
       if (!childTab.getAcctTab() && !childTab.getTrlTab()) {
@@ -294,7 +294,7 @@
     return hasVisibleChildTab;
   }
 
-  public boolean hasAccountingChildTab() {
+  private boolean hasAccountingChildTab() {
     boolean hasAccountingChildTab = false;
     for (OBViewTab childTab : this.getChildTabs()) {
       if (childTab.getAcctTab()) {
@@ -305,7 +305,7 @@
     return hasAccountingChildTab;
   }
 
-  public boolean hasTranslationChildTab() {
+  private boolean hasTranslationChildTab() {
     boolean hasTranslationChildTab = false;
     for (OBViewTab childTab : this.getChildTabs()) {
       if (childTab.getTrlTab()) {

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to