7f0da468f3fca7d14b3ec89d92acaafb84202597 3673 |
|
15-Jan-2008 |
matthew_swift |
Fix issue 2827: Messages constructed from a MessageBuilder should have a sensible category and severity.
Modify the MessageBuilder.toMessage() method so that constructed Messages have a sensible Category and Severity. Now the Category and Severity are based on the first object appended to the MessageBuilder. If that object is a Message then the MessageBuilder will use the Category and Severity of that Message, otherwise it will continue the current default behavior which is to use Category.USER_DEFINED and Severity.INFORMATION. |