135136137138139140141142143144145
if (p != null) { p.setCommentCount(p.getCommentCount() + 1); } } detail = new PatchSetDetail(); detail.setPatchSet(patchSet); detail.setInfo(infoFactory.get(db, psIdNew)); detail.setPatches(patches);