File tree Expand file tree Collapse file tree
library/src/main/java/com/proxerme/library/connection/info Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515import 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
Original file line number Diff line number Diff line change 33import android .support .annotation .Nullable ;
44
55import 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 }
You can’t perform that action at this time.
0 commit comments