Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-433

Null Object

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0-JSR-6
    • None
    • None

    Description

      It would be nice to have a null object. I guess not a real object, just a metaclass that you could define methods on.

      I've defined some utility methods on null before in ruby, mainly like sqlEquals(), which was also defined for all standard types. And its just nice not to have to write code that worries about the null case.

      Attachments

        Issue Links

          Activity

            People

              blackdrag Jochen Theodorou
              yuri Yuri Schimke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: