You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Chris Povirk (JIRA)" <ji...@apache.org> on 2014/09/15 19:13:34 UTC

[jira] [Created] (GERONIMO-6531) AddressException(String message, String ref) ignores its ref parameter

Chris Povirk created GERONIMO-6531:
--------------------------------------

             Summary: AddressException(String message, String ref) ignores its ref parameter
                 Key: GERONIMO-6531
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6531
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: specs
            Reporter: Chris Povirk
            Priority: Trivial


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)