Cleaning up redundant initializers
This commit is contained in:
parent
4e4707b524
commit
1b1ce0726c
@ -747,7 +747,7 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
|
||||
}
|
||||
return true;
|
||||
case KeyEvent.KEYCODE_TAB:
|
||||
int nextIndex = 0;
|
||||
int nextIndex;
|
||||
if (event.isShiftPressed()) {
|
||||
// Go back one tab
|
||||
if (mTabsManager.indexOfCurrentTab() > 0) {
|
||||
|
@ -376,8 +376,8 @@ public class HtmlFetcher {
|
||||
*/
|
||||
private String getResolvedUrl(String urlAsString, int timeout,
|
||||
int num_redirects) {
|
||||
String newUrl = null;
|
||||
int responseCode = -1;
|
||||
String newUrl;
|
||||
int responseCode;
|
||||
try {
|
||||
HttpURLConnection hConn = createUrlConnection(urlAsString, timeout, true);
|
||||
// force no follow
|
||||
|
Loading…
x
Reference in New Issue
Block a user