This can be simplified to requestScoreMsgs.add(new RayMessage(msg));