Skip to content

Commit f9b0ea4

Browse files
committed
Formatting to match rest of library
1 parent dd3c075 commit f9b0ea4

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

library/src/main/java/com/proxerme/library/connection/info/request/SetUserInfoRequest.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
import okhttp3.ResponseBody;
1616

1717
/**
18-
* Request to set the user view state of an anime or manga. See the list of possible user view states.
18+
* Request to set the user view state of an anime or manga. See the list of possible user view
19+
* states.
1920
*
2021
* @author Desnoo
2122
*/
@@ -34,15 +35,17 @@ public class SetUserInfoRequest extends InfoRequest<Void> {
3435
*
3536
* @param id The id of the anime/manga.
3637
* @param type The list type where the anime/manga should be add to.
37-
* See {@link com.proxerme.library.parameters.ViewStateParameter.ViewState} for parameters.
38+
* See {@link com.proxerme.library.parameters.ViewStateParameter.ViewState} for
39+
* parameters.
3840
*/
3941
public SetUserInfoRequest(@NonNull String id, @ViewStateParameter.ViewState String type) {
4042
this.id = id;
4143
this.type = type;
4244
}
4345

4446
@Override
45-
protected ProxerResult<Void> parse(@NonNull Moshi moshi, @NonNull ResponseBody body) throws IOException {
47+
protected ProxerResult<Void> parse(@NonNull Moshi moshi, @NonNull ResponseBody body)
48+
throws IOException {
4649
return moshi.adapter(SetUserInfoResult.class).fromJson(body.source());
4750
}
4851

library/src/main/java/com/proxerme/library/connection/info/result/SetUserInfoResult.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@
33
import android.support.annotation.Nullable;
44

55
import com.proxerme.library.connection.ProxerResult;
6-
import com.proxerme.library.connection.info.request.SetUserInfoRequest;
76

87
/**
9-
* The class that represents the result of {@link com.proxerme.library.connection.info.request.SetUserInfoRequest}.
10-
*
11-
* @author Desnoo
8+
* {@inheritDoc}
129
*/
13-
public class SetUserInfoResult extends ProxerResult<Void> {
10+
public final class SetUserInfoResult extends ProxerResult<Void> {
1411

1512
protected SetUserInfoResult(){
1613
}

0 commit comments

Comments
 (0)