Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-6531

AddressException(String message, String ref) ignores its ref parameter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • specs
    • Security Level: public (Regular issues)

    Description

      Here's the constructor:
      public AddressException(String message, String ref)

      { this(message, null, -1); }

      The constructor that it's calling has this signature:
      AddressException(String message, String ref, int pos)

      So it seems likely that the constructor was intended to pass the ref parameter through as part of its call.

      As far as I can tell, the constructor in question is unused in Geronimo, so nothing is really "broken." My motivation for reporting this is merely that it was detected by an https://code.google.com/p/error-prone/ check.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cpovirk Chris Povirk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: