@@ -31,7 +31,7 @@ public CommitComments(final EntityManager entityManager) {
3131 @ Transactional
3232 public List <CommitComment > getCommentsFor (Group group , String ... commitIds ) {
3333 return query ().from (commitComment )
34- .where (commitComment .source .isNull ()
34+ .where (commitComment .source .sourceFilePath . isNull ()
3535 .and (commitComment .commit .repository .eq (group )
3636 .and (commitComment .commit .commitId .in (commitIds ))))
3737 .list (commitComment );
@@ -46,7 +46,7 @@ public List<CommitComment> getCommentsFor(Group group, String... commitIds) {
4646 @ Transactional
4747 public List <CommitComment > getCommentsFor (Group group , List <String > commitIds ) {
4848 return query ().from (commitComment )
49- .where (commitComment .source .isNull ()
49+ .where (commitComment .source .sourceFilePath . isNull ()
5050 .and (commitComment .commit .repository .eq (group )
5151 .and (commitComment .commit .commitId .in (commitIds ))))
5252 .list (commitComment );
@@ -61,7 +61,7 @@ public List<CommitComment> getCommentsFor(Group group, List<String> commitIds) {
6161 @ Transactional
6262 public List <CommitComment > getInlineCommentsFor (Group group , Collection <String > commitIds ) {
6363 return query ().from (commitComment )
64- .where (commitComment .source .isNotNull ()
64+ .where (commitComment .source .sourceFilePath . isNotNull ()
6565 .and (commitComment .commit .repository .eq (group )
6666 .and (commitComment .commit .commitId .in (commitIds ))))
6767 .list (commitComment );
0 commit comments