if (comment != null) {
return comment.getBody();
}
} else if (Event.TYPE_CREATE.equals(eventType)) {
CreatePayload payload = (CreatePayload) event.getPayload();
<BUG>if ("repository".equals(payload.getRefType())) {
return res.getString(R.string.event_create_repo_desc, eventRepo.getName());
} else if ("branch".equals(payload.getRefType()) || "tag".equals(payload.getRefType())) {
return res.getString(R.string.event_create_branch_desc,
payload.getRefType(), eventRepo.getName(), payload.getRef());</BUG>
}

if (comment != null) {
return comment.getBody();
}
} else if (Event.TYPE_CREATE.equals(eventType)) {
CreatePayload payload = (CreatePayload) event.getPayload();
String refType = payload.getRefType();
if (CreatePayload.REF_TYPE_REPO.equals(refType)) {
return res.getString(R.string.event_create_repo_desc, eventRepo.getName());
}
