message builder tests

This commit is contained in:
Keith Donald
2008-05-14 12:18:22 +00:00
parent 8e4a5b0720
commit a5b7ef1453
2 changed files with 80 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ public class MessageBuilder {
if (codes == null) {
return this;
}
this.codes.add(Arrays.asList(codes));
this.codes.addAll(Arrays.asList(codes));
return this;
}
@@ -136,7 +136,7 @@ public class MessageBuilder {
if (args == null) {
return this;
}
this.args.add(Arrays.asList(args));
this.args.addAll(Arrays.asList(args));
return this;
}