Log messages for duplicate resource declarations have their arguments switched
------------------------------------------------------------------------------

                 Key: UIMA-474
                 URL: https://issues.apache.org/jira/browse/UIMA-474
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
            Reporter: Adam Lally
            Assignee: Adam Lally
             Fix For: 2.2


If you declare two resources with the same name, you get a log message:
The external resource named {0} has been declared multiple times with different 
definitions. \
  The definition of the resource in component {1} will be used.  The definition 
in component {2} will be ignored.

However the code that generates the message has the arguments {1} and {2} the 
wrong way around, actualy it is the resource declared in component {2} that 
will be used.

The same is true for the log message about overriding resources - it tells you 
that the resource declared in the aggregate was overriden by its delegate, 
which is the opposite of what actually happens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to