Skip to content

Commit ea3d99a

Browse files
committed
修改注释
1 parent d0c84bf commit ea3d99a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

appbarlayoutbehavior/src/main/java/com/yuruiyin/appbarlayoutbehavior/AppBarLayoutBehavior.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,10 @@ public boolean onInterceptTouchEvent(CoordinatorLayout parent, AppBarLayout chil
5252
/**
5353
* 反射获取私有的flingRunnable 属性,考虑support 28以后变量名修改的问题
5454
* @return Field
55-
* @throws NoSuchFieldException
5655
*/
5756
private Field getFlingRunnableField() throws NoSuchFieldException {
5857
try {
59-
// support design 27及一下版本
58+
// support design 27及以下版本
6059
Class<?> headerBehaviorType = this.getClass().getSuperclass().getSuperclass();
6160
return headerBehaviorType.getDeclaredField("mFlingRunnable");
6261
} catch (NoSuchFieldException e) {
@@ -69,11 +68,10 @@ private Field getFlingRunnableField() throws NoSuchFieldException {
6968
/**
7069
* 反射获取私有的scroller 属性,考虑support 28以后变量名修改的问题
7170
* @return Field
72-
* @throws NoSuchFieldException
7371
*/
7472
private Field getScrollerField() throws NoSuchFieldException {
7573
try {
76-
// support design 27及一下版本
74+
// support design 27及以下版本
7775
Class<?> headerBehaviorType = this.getClass().getSuperclass().getSuperclass();
7876
return headerBehaviorType.getDeclaredField("mScroller");
7977
} catch (NoSuchFieldException e) {

0 commit comments

Comments
 (0)