ChangeSet (long timestamp, String name, Change... changes) { ChangeSet result = new ChangeSet(nextId(), timestamp); result.setName(name); for (Change each : changes) { result.addChange(each); } return result; }