1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 18:29:23 +02:00

code cleanup

This commit is contained in:
Nikolay Pultsin 2011-09-27 02:56:44 +01:00
parent 6caf54664a
commit d07cba1533
2 changed files with 6 additions and 8 deletions

View file

@ -182,10 +182,4 @@ public abstract class Util implements UserRegistrationConstants {
activity.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
}
}
public static NetworkTree getTreeFromIntent(Intent intent) {
final NetworkLibrary library = NetworkLibrary.Instance();
final NetworkTree.Key key = (NetworkTree.Key)intent.getSerializableExtra(NetworkLibraryActivity.TREE_KEY_KEY);
return library.getTreeByKey(key);
}
}