Почищен код

This commit is contained in:
sshkurov
2022-02-06 11:53:15 +03:00
parent 3b5662548f
commit ae19082418
2 changed files with 1 additions and 5 deletions

View File

@@ -307,10 +307,6 @@ public class StreamService {
return (root, query, cb) -> cb.equal(root.get("favorite"), true);
}
private Specification<Stream> streamIdGreaterThan(long id) {
return (root, query, cb) -> cb.greaterThan(root.get("id"), id);
}
private Specification<Stream> streamIdLessThan(long id) {
return (root, query, cb) -> cb.lessThan(root.get("id"), id);
}