Browse Source

Remove unnecessary code

master
Miłosz Sieradzki 10 years ago
parent
commit
3d14b3aa11
  1. 6
      src/acr/browser/lightning/ClickHandler.java

6
src/acr/browser/lightning/ClickHandler.java

@ -15,16 +15,14 @@ public class ClickHandler extends Handler {
try { try {
mBrowserController = (BrowserController) context; mBrowserController = (BrowserController) context;
} catch (ClassCastException e) { } catch (ClassCastException e) {
throw new ClassCastException(context.toString() throw new ClassCastException(context + " must implement BrowserController");
+ " must implement BrowserController");
} }
} }
@Override @Override
public void handleMessage(Message msg) { public void handleMessage(Message msg) {
super.handleMessage(msg); super.handleMessage(msg);
String url = null; String url = msg.getData().getString("url");
url = msg.getData().getString("url");
mBrowserController.longClickPage(url); mBrowserController.longClickPage(url);
} }
} }

Loading…
Cancel
Save