Skip to content

Commit

Permalink
refactor: fixing lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnarkhede committed May 23, 2023
1 parent 2919abb commit c04df1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/main/java/io/getstream/chat/java/models/Message.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
import io.getstream.chat.java.models.Flag.FlagCreateRequestData.FlagCreateRequest;
import io.getstream.chat.java.models.Flag.FlagDeleteRequestData.FlagDeleteRequest;
import io.getstream.chat.java.models.Flag.FlagMessageQueryRequestData.FlagMessageQueryRequest;
import io.getstream.chat.java.models.Message.MessageCommitRequestData.MessageCommitRequest;
import io.getstream.chat.java.models.Message.MessagePartialUpdateRequestData.MessagePartialUpdateRequest;
import io.getstream.chat.java.models.Message.MessageRunCommandActionRequestData.MessageRunCommandActionRequest;
import io.getstream.chat.java.models.Message.MessageSearchRequestData.MessageSearchRequest;
import io.getstream.chat.java.models.Message.MessageSendRequestData.MessageSendRequest;
import io.getstream.chat.java.models.Message.MessageCommitRequestData.MessageCommitRequest;
import io.getstream.chat.java.models.Message.MessageTranslateRequestData.MessageTranslateRequest;
import io.getstream.chat.java.models.Message.MessageUpdateRequestData.MessageUpdateRequest;
import io.getstream.chat.java.models.User.UserRequestObject;
Expand Down Expand Up @@ -1169,9 +1169,9 @@ protected Call<MessageTranslateResponse> generateCall(Client client) {
}

@Builder(
builderClassName = "MessageCommitRequest",
builderMethodName = "",
buildMethodName = "internalBuild")
builderClassName = "MessageCommitRequest",
builderMethodName = "",
buildMethodName = "internalBuild")
public static class MessageCommitRequestData {
public static class MessageCommitRequest extends StreamRequest<MessageCommitResponse> {
@NotNull private String messageId;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
package io.getstream.chat.java.services;

import io.getstream.chat.java.models.Message;
import io.getstream.chat.java.models.Message.MessageCommitRequestData;
import io.getstream.chat.java.models.Message.MessageCommitResponse;
import io.getstream.chat.java.models.Message.MessageDeleteResponse;
import io.getstream.chat.java.models.Message.MessageGetManyResponse;
import io.getstream.chat.java.models.Message.MessageGetRepliesResponse;
import io.getstream.chat.java.models.Message.MessageCommitResponse;
import io.getstream.chat.java.models.Message.MessageGetResponse;
import io.getstream.chat.java.models.Message.MessagePartialUpdateRequestData;
import io.getstream.chat.java.models.Message.MessagePartialUpdateResponse;
import io.getstream.chat.java.models.Message.MessageRunCommandActionRequestData;
import io.getstream.chat.java.models.Message.MessageRunCommandActionResponse;
import io.getstream.chat.java.models.Message.MessageSearchRequestData;
import io.getstream.chat.java.models.Message.MessageCommitRequestData;
import io.getstream.chat.java.models.Message.MessageSearchResponse;
import io.getstream.chat.java.models.Message.MessageSendRequestData;
import io.getstream.chat.java.models.Message.MessageSendResponse;
Expand Down Expand Up @@ -58,8 +57,8 @@ Call<MessageSearchResponse> search(

@POST("messages/{id}/commit")
Call<MessageCommitResponse> commit(
@NotNull @Path("id") String messageId,
@NotNull @Body MessageCommitRequestData messageCommitRequestData);
@NotNull @Path("id") String messageId,
@NotNull @Body MessageCommitRequestData messageCommitRequestData);

@Multipart
@Headers("X-Stream-LogRequestBody: false")
Expand Down

0 comments on commit c04df1d

Please sign in to comment.