mirror of
https://github.com/czp3009/bilibili-api.git
synced 2025-02-19 20:50:28 +08:00
修正变量访问级别
This commit is contained in:
parent
166559f2cf
commit
332069a0d1
@ -3,7 +3,7 @@ package com.hiczp.bilibili.api.live.socket.event;
|
||||
import com.hiczp.bilibili.api.live.socket.entity.DataEntity;
|
||||
|
||||
public abstract class ReceiveDataPackageEvent<T extends DataEntity> extends ReceivePackageEvent<T> {
|
||||
public ReceiveDataPackageEvent(Object source, T entity) {
|
||||
ReceiveDataPackageEvent(Object source, T entity) {
|
||||
super(source, entity);
|
||||
}
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ package com.hiczp.bilibili.api.live.socket.event;
|
||||
import java.util.EventObject;
|
||||
|
||||
public abstract class ReceivePackageEvent<T> extends EventObject {
|
||||
private T entity;
|
||||
protected T entity;
|
||||
|
||||
ReceivePackageEvent(Object source, T entity) {
|
||||
super(source);
|
||||
|
@ -2,8 +2,8 @@ package com.hiczp.bilibili.api.live.socket.event;
|
||||
|
||||
import com.hiczp.bilibili.api.live.socket.entity.RoomStatusEntity;
|
||||
|
||||
public class ReceiveRoomStatusPackageEvent<T extends RoomStatusEntity> extends ReceiveDataPackageEvent<T> {
|
||||
public ReceiveRoomStatusPackageEvent(Object source, T entity) {
|
||||
public abstract class ReceiveRoomStatusPackageEvent<T extends RoomStatusEntity> extends ReceiveDataPackageEvent<T> {
|
||||
ReceiveRoomStatusPackageEvent(Object source, T entity) {
|
||||
super(source, entity);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user