Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-3172

Don't return null from standard coder decode() methods

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Medium Medium
    • Istanbul Release
    • None
    • common
    • None

      The a file (or String) is empty, then gson returns a null object rather than throwing an exception.  StandardCoder (and its derivatives) should throw a CoderException, in those cases, rather than return null.

            jrh3 jrh3
            jrh3 jrh3
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: