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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • Trunk, Upcoming Branch
    • None
    • framework
    • 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

              paulfoxworthy Paul Foxworthy
              jleroux Jacques Le Roux
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: