mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 10:19:33 +02:00
Eclipse code cleanup
git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@1507 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
This commit is contained in:
parent
fc1a273ceb
commit
2f4fcff738
122 changed files with 259 additions and 394 deletions
|
@ -22,10 +22,7 @@ package org.geometerplus.android.fbreader;
|
|||
import android.os.Bundle;
|
||||
import android.view.*;
|
||||
import android.widget.*;
|
||||
import android.content.Context;
|
||||
import android.app.ListActivity;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.drawable.Drawable;
|
||||
|
||||
import org.geometerplus.zlibrary.core.application.ZLApplication;
|
||||
import org.geometerplus.zlibrary.core.resources.ZLResource;
|
||||
|
@ -39,7 +36,7 @@ import org.geometerplus.fbreader.fbreader.FBReader;
|
|||
|
||||
public class TOCActivity extends ListActivity {
|
||||
private TOCAdapter myAdapter;
|
||||
private ZLTree mySelectedItem;
|
||||
private ZLTree<?> mySelectedItem;
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle bundle) {
|
||||
|
@ -92,11 +89,9 @@ public class TOCActivity extends ListActivity {
|
|||
}
|
||||
|
||||
private final class TOCAdapter extends ZLTreeAdapter {
|
||||
private final TOCTree myRoot;
|
||||
|
||||
TOCAdapter(TOCTree root) {
|
||||
super(getListView(), root);
|
||||
myRoot = root;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -133,7 +128,7 @@ public class TOCActivity extends ListActivity {
|
|||
}
|
||||
|
||||
@Override
|
||||
protected boolean runTreeItem(ZLTree tree) {
|
||||
protected boolean runTreeItem(ZLTree<?> tree) {
|
||||
if (super.runTreeItem(tree)) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue