Skip to content

Commit

Permalink
Make ViewParent final in getTopParent()
Browse files Browse the repository at this point in the history
  • Loading branch information
renas committed May 7, 2014
1 parent f6b8c99 commit a004cf8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -42,7 +42,7 @@ public ViewFetcher(ActivityUtils activityUtils) {
*/

public View getTopParent(View view) {
ViewParent viewParent = view.getParent();
final ViewParent viewParent = view.getParent();
if (viewParent != null
&& viewParent instanceof android.view.View) {
return getTopParent((View) viewParent);
Expand Down

0 comments on commit a004cf8

Please sign in to comment.