details:   https://code.openbravo.com/erp/devel/pi/rev/8b2d570732a8
changeset: 30329:8b2d570732a8
user:      Inigo Sanchez <inigo.sanchez <at> openbravo.com>
date:      Wed Sep 28 16:11:12 2016 +0200
summary:   Related to issue 34043: Update name of method.

diffstat:

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

diffs (21 lines):

diff -r 4eaae49d7b7e -r 8b2d570732a8 
src/org/openbravo/erpCommon/ad_callouts/SimpleCallout.java
--- a/src/org/openbravo/erpCommon/ad_callouts/SimpleCallout.java        Wed Sep 
28 15:50:27 2016 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SimpleCallout.java        Wed Sep 
28 16:11:12 2016 +0200
@@ -287,7 +287,7 @@
      */
     public void endSelect() {
       try {
-        if (hasSelectedComboEntry()) {
+        if (isComboWithoutSelectedEntry()) {
           JSONObject notSelectedItem = new JSONObject();
           notSelectedItem.put(CalloutConstants.ENTRIES, getComboEntries());
           result.put(currentElement, notSelectedItem);
@@ -299,7 +299,7 @@
       }
     }
 
-    private boolean hasSelectedComboEntry() throws JSONException {
+    private boolean isComboWithoutSelectedEntry() throws JSONException {
       return (result.isNull(currentElement) ? true : 
!result.getJSONObject(currentElement).has(
           CalloutConstants.VALUE));
     }

------------------------------------------------------------------------------
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to