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;
|
return true;
|
||||||
case KeyEvent.KEYCODE_TAB:
|
case KeyEvent.KEYCODE_TAB:
|
||||||
int nextIndex = 0;
|
int nextIndex;
|
||||||
if (event.isShiftPressed()) {
|
if (event.isShiftPressed()) {
|
||||||
// Go back one tab
|
// Go back one tab
|
||||||
if (mTabsManager.indexOfCurrentTab() > 0) {
|
if (mTabsManager.indexOfCurrentTab() > 0) {
|
||||||
|
@ -376,8 +376,8 @@ public class HtmlFetcher {
|
|||||||
*/
|
*/
|
||||||
private String getResolvedUrl(String urlAsString, int timeout,
|
private String getResolvedUrl(String urlAsString, int timeout,
|
||||||
int num_redirects) {
|
int num_redirects) {
|
||||||
String newUrl = null;
|
String newUrl;
|
||||||
int responseCode = -1;
|
int responseCode;
|
||||||
try {
|
try {
|
||||||
HttpURLConnection hConn = createUrlConnection(urlAsString, timeout, true);
|
HttpURLConnection hConn = createUrlConnection(urlAsString, timeout, true);
|
||||||
// force no follow
|
// force no follow
|
||||||
|
Loading…
x
Reference in New Issue
Block a user