Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4427

Runtime errors with UtilValidate.isEmpty(Object) and IsNotEmpty should be caught during compilation

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Trunk
    • Fix Version/s: None
    • Component/s: framework
    • Sprint:
      Bug Crush Event - 21/2/2015

      Description

      Hence we need to remove the UtilValidate.isEmpty(Object) method and provide methods that accept explicit types.

      Adrian then (http://markmail.org/message/37rtrnulhmyzxfoo) suggested that

      Scripting languages should use a facade class that provides methods for working with generic Objects or providing default behaviors.

        Attachments

        1. OFBIZ-4427_isEmpty.patch
          88 kB
          Paul Foxworthy
        2. OFBIZ-4427.patch
          1 kB
          Paul Foxworthy

          Issue Links

            Activity

              People

              • Assignee:
                paul_foxworthy Paul Foxworthy
                Reporter:
                jacques.le.roux Jacques Le Roux
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: