We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7019d60 commit fd0ae75Copy full SHA for fd0ae75
src/main/kotlin/usecase/repository/RoomRepository.kt
@@ -29,10 +29,10 @@ interface RoomRepository {
29
fun deleteRoom(roomId: RoomID): Boolean
30
31
/**
32
- * Find a room by its [roomId] and get its data in a specific [dateTime].
+ * Find a room by its [roomId] and get its data in a specific [dateTime] if specified.
33
* @return the room if present, null otherwise.
34
*/
35
- fun findBy(roomId: RoomID, dateTime: Date): Room?
+ fun findBy(roomId: RoomID, dateTime: Date?): Room?
36
37
38
* Get all the rooms.
0 commit comments