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

Loading…
Cancel
Save