1313 *
1414 * @author Ruben Gees
1515 */
16- public class UcpToptenEntity implements Parcelable {
16+ public class UcpToptenEntry implements Parcelable {
1717
18- public static final Parcelable .Creator <UcpToptenEntity > CREATOR = new Parcelable .Creator <UcpToptenEntity >() {
18+ public static final Parcelable .Creator <UcpToptenEntry > CREATOR = new Parcelable .Creator <UcpToptenEntry >() {
1919 @ Override
20- public UcpToptenEntity createFromParcel (Parcel source ) {
21- return new UcpToptenEntity (source );
20+ public UcpToptenEntry createFromParcel (Parcel source ) {
21+ return new UcpToptenEntry (source );
2222 }
2323
2424 @ Override
25- public UcpToptenEntity [] newArray (int size ) {
26- return new UcpToptenEntity [size ];
25+ public UcpToptenEntry [] newArray (int size ) {
26+ return new UcpToptenEntry [size ];
2727 }
2828 };
2929
@@ -47,17 +47,17 @@ public UcpToptenEntity[] newArray(int size) {
4747 * @param medium The medium (Animeseries, ...)
4848 * @param category The category.
4949 */
50- public UcpToptenEntity (@ NonNull String id , @ NonNull String entryId , @ NonNull String name ,
51- @ MediumParameter .Medium @ NonNull String medium ,
52- @ CategoryParameter .Category @ NonNull String category ) {
50+ public UcpToptenEntry (@ NonNull String id , @ NonNull String entryId , @ NonNull String name ,
51+ @ MediumParameter .Medium @ NonNull String medium ,
52+ @ CategoryParameter .Category @ NonNull String category ) {
5353 this .id = id ;
5454 this .entryId = entryId ;
5555 this .name = name ;
5656 this .medium = medium ;
5757 this .category = category ;
5858 }
5959
60- protected UcpToptenEntity (Parcel in ) {
60+ protected UcpToptenEntry (Parcel in ) {
6161 this .id = in .readString ();
6262 this .entryId = in .readString ();
6363 this .name = in .readString ();
@@ -123,7 +123,7 @@ public boolean equals(Object o) {
123123 if (this == o ) return true ;
124124 if (o == null || getClass () != o .getClass ()) return false ;
125125
126- UcpToptenEntity that = (UcpToptenEntity ) o ;
126+ UcpToptenEntry that = (UcpToptenEntry ) o ;
127127
128128 if (!id .equals (that .id )) return false ;
129129 if (!entryId .equals (that .entryId )) return false ;
0 commit comments