Skip to content

Commit ad41a43

Browse files
author
zsy
committed
去除MVCHelper的getDataSource的强制转化
1 parent 5bdb69f commit ad41a43

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mvchelper_library/src/main/java/com/shizhefei/mvc/MVCHelper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ public IDataAdapter<DATA> getAdapter() {
485485
}
486486

487487
public ISuperTask<DATA> getDataSource() {
488-
return (IDataSource<DATA>) dataSource;
488+
return dataSource;
489489
}
490490

491491
public ILoadView getLoadView() {

mvchelper_library/src/main/java/com/shizhefei/mvc/ProgressSender.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public interface ProgressSender {
1111
*
1212
* @param current 当前进度
1313
* @param total 总量
14-
* @param exraData 额外的数据,可以传null
14+
* @param extraData 额外的数据,可以传null
1515
*/
16-
void sendProgress(long current, long total, Object exraData);
16+
void sendProgress(long current, long total, Object extraData);
1717
}

0 commit comments

Comments
 (0)