INT-1257, changed convinience method to MessageHistory.containsComponent(string), added/modified tests in XML, WS, JMS to validate MessageHistory
This commit is contained in:
@@ -88,7 +88,7 @@ public class MessageHistory implements List<Properties> {
|
||||
return this.components.contains(o);
|
||||
}
|
||||
|
||||
public boolean containsEntryWithName(String name) {
|
||||
public boolean containsComponent(String name) {
|
||||
for (Properties properties : components) {
|
||||
if (properties.getProperty("name").equals(name)){
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user