details:   https://code.openbravo.com/erp/devel/pi/rev/62bee3798905
changeset: 33039:62bee3798905
user:      Carlos Aristu <carlos.aristu <at> openbravo.com>
date:      Thu Nov 23 12:58:33 2017 +0100
summary:   related with bug 37363: minor related code improvement

  Use equalsIgnoreCase for the dataOriginType comparison.

diffstat:

 src/org/openbravo/erpCommon/utility/UsedByLink.java |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 4878d550b906 -r 62bee3798905 
src/org/openbravo/erpCommon/utility/UsedByLink.java
--- a/src/org/openbravo/erpCommon/utility/UsedByLink.java       Thu Nov 23 
09:24:29 2017 +0100
+++ b/src/org/openbravo/erpCommon/utility/UsedByLink.java       Thu Nov 23 
12:58:33 2017 +0100
@@ -691,7 +691,7 @@
         linkedTableId = entity.getTableId();
         linkedTableObject = OBDal.getInstance().get(Table.class, 
linkedTableId);
         dataOriginType = linkedTableObject.getDataOriginType();
-        if (!"TABLE".equals(dataOriginType.toUpperCase())) {
+        if (!"TABLE".equalsIgnoreCase(dataOriginType)) {
           // Datasource tables are skipped
           continue;
         }

------------------------------------------------------------------------------
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