Skip to content

Commit e0d9809

Browse files
committed
Minor javadoc fixes
1 parent 44b1977 commit e0d9809

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/main/java/io/github/hikingc/matrixsdk/api/events/Messages.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import java.util.List;
55

6-
/// Represents a list of messages and state events from a room.
6+
/// Holds a list of messages and state events from a room.
77
///
88
/// @param start a token corresponding to the start of chunk. This will be the same as the value given in `from`.
99
/// @param end a token corresponding to the end of chunk. This token can be passed back to this endpoint to request

src/main/java/io/github/hikingc/matrixsdk/api/events/RoomInfo.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import com.fasterxml.jackson.annotation.JsonProperty;
44
import io.github.hikingc.matrixsdk.api.Room;
5+
import io.github.hikingc.matrixsdk.api.identifiers.RoomID;
56
import io.github.hikingc.matrixsdk.api.rooms.PublicRoomRequest;
67

78
import java.util.List;
@@ -37,9 +38,9 @@ public record Event(@JsonProperty(required = true) Object content,
3738
/// @param chunk if the user is a member of the room this will be a [List] of the most recent messages for this room, otherwise
3839
/// if the user has left the room then the messages that preceded them before leaving. This array will consist of at most `limit` elements.
3940
/// @param end a token which correlates to the end of `chunk`.
40-
/// Can be used in [io.github.hikingc.matrixsdk.api.Event#getMessages(String, ChronologicalDirection, QueryParametersMessages)] to retrieve later events.
41+
/// Can be used in [io.github.hikingc.matrixsdk.api.Event#getMessages(RoomID, ChronologicalDirection, QueryParametersMessages)] to retrieve later events.
4142
/// @param start a token which correlates to the start of `chunk`.
42-
/// Can be used in [io.github.hikingc.matrixsdk.api.Event#getMessages(String, ChronologicalDirection, QueryParametersMessages)] to retrieve earlier events.
43+
/// Can be used in [io.github.hikingc.matrixsdk.api.Event#getMessages(RoomID, ChronologicalDirection, QueryParametersMessages)] to retrieve earlier events.
4344
public record PaginationChunk(@JsonProperty(required = true) List<ClientEvent> chunk,
4445
@JsonProperty(required = true) String end,
4546
String start) {

0 commit comments

Comments
 (0)