Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-630

ResponseBuilder.lastModified, type, language, cacheControl, etc... should accept null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.3.0.GA
    • 2.1.0.GA
    • None
    • None

      The spec says:

      /**
       * Set the last modified date on the ResponseBuilder.
       *
       * @param lastModified the last modified date, if null any existing
       *                     last modified value will be removed.
       * @return the updated ResponseBuilder
       */
      public abstract ResponseBuilder lastModified(Date lastModified);
      

      But passing null throws an IllegalArgumentException.

            patriot1burke@gmail.com Bill Burke (Inactive)
            plaflamme Philippe Laflamme (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: