Index: src/org/adblockplus/android/ProxyConfigurationActivity.java |
diff --git a/src/org/adblockplus/android/ProxyConfigurationActivity.java b/src/org/adblockplus/android/ProxyConfigurationActivity.java |
index 0105c17617e5908779808228ae56264f99426267..a4a537e9da69ec3165279e86191bf6c9cce3577a 100644 |
--- a/src/org/adblockplus/android/ProxyConfigurationActivity.java |
+++ b/src/org/adblockplus/android/ProxyConfigurationActivity.java |
@@ -13,33 +13,33 @@ import android.widget.TextView; |
public class ProxyConfigurationActivity extends Activity |
{ |
@Override |
- public void onCreate(Bundle savedInstanceState) |
+ public void onCreate(final Bundle savedInstanceState) |
{ |
super.onCreate(savedInstanceState); |
- setContentView(R.layout.proxyconfiguration); |
- int port = getIntent().getIntExtra("port", 0); |
+ this.setContentView(R.layout.proxyconfiguration); |
+ final int port = this.getIntent().getIntExtra("port", 0); |
- StringBuilder info = new StringBuilder(); |
- int textId = ProxyService.NATIVE_PROXY_SUPPORTED ? R.raw.proxysettings : R.raw.proxysettings_old; |
+ final StringBuilder info = new StringBuilder(); |
+ final int textId = ProxyService.NATIVE_PROXY_SUPPORTED ? R.raw.proxysettings : R.raw.proxysettings_old; |
AdblockPlus.appendRawTextFile(this, info, textId); |
- String msg = String.format(info.toString(), port); |
+ final String msg = String.format(info.toString(), port); |
- TextView tv = (TextView) findViewById(R.id.message_text); |
+ final TextView tv = (TextView)this.findViewById(R.id.message_text); |
tv.setText(Html.fromHtml(msg)); |
tv.setMovementMethod(LinkMovementMethod.getInstance()); |
- Button buttonToHide = (Button) findViewById(ProxyService.NATIVE_PROXY_SUPPORTED ? R.id.gotit : R.id.opensettings); |
+ final Button buttonToHide = (Button)this.findViewById(ProxyService.NATIVE_PROXY_SUPPORTED ? R.id.gotit : R.id.opensettings); |
buttonToHide.setVisibility(View.GONE); |
} |
- public void onGotit(View view) |
+ public void onGotit(final View view) |
{ |
- finish(); |
+ this.finish(); |
} |
- public void onSettings(View view) |
+ public void onSettings(final View view) |
{ |
- startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS)); |
- finish(); |
+ this.startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS)); |
+ this.finish(); |
} |
} |