Index: src/org/adblockplus/android/ConfigurationActivity.java |
diff --git a/src/org/adblockplus/android/ConfigurationActivity.java b/src/org/adblockplus/android/ConfigurationActivity.java |
index 0a516e16113561305b474b473c238dfef026c484..3a51a68cc2ba2345805962b85775e1f5cde20b79 100644 |
--- a/src/org/adblockplus/android/ConfigurationActivity.java |
+++ b/src/org/adblockplus/android/ConfigurationActivity.java |
@@ -33,34 +33,34 @@ public class ConfigurationActivity extends Activity |
private int port; |
@Override |
- public void onCreate(Bundle savedInstanceState) |
+ public void onCreate(final Bundle savedInstanceState) |
{ |
super.onCreate(savedInstanceState); |
- setContentView(R.layout.configuration); |
- port = getIntent().getIntExtra("port", 0); |
- String msg1 = getString(R.string.msg_notraffic); |
- String msg2 = getString(R.string.msg_configuration); |
- ((TextView) findViewById(R.id.message_text)).setText(Html.fromHtml(msg1 + " " + msg2)); |
+ this.setContentView(R.layout.configuration); |
+ this.port = this.getIntent().getIntExtra("port", 0); |
+ final String msg1 = this.getString(R.string.msg_notraffic); |
+ final String msg2 = this.getString(R.string.msg_configuration); |
+ ((TextView)this.findViewById(R.id.message_text)).setText(Html.fromHtml(msg1 + " " + msg2)); |
} |
- public void onOk(View view) |
+ public void onOk(final View view) |
{ |
- finish(); |
+ this.finish(); |
} |
- public void onHelp(View view) |
+ public void onHelp(final View view) |
{ |
- Intent intent; |
+ final Intent intent; |
if (ProxyService.NATIVE_PROXY_SUPPORTED) |
{ |
- intent = new Intent(this, ProxyConfigurationActivity.class).putExtra("port", port); |
+ intent = new Intent(this, ProxyConfigurationActivity.class).putExtra("port", this.port); |
} |
else |
{ |
- Uri uri = Uri.parse(getString(R.string.configuring_proxy_url)); |
+ final Uri uri = Uri.parse(this.getString(R.string.configuring_proxy_url)); |
intent = new Intent(Intent.ACTION_VIEW, uri); |
} |
- startActivity(intent); |
- finish(); |
+ this.startActivity(intent); |
+ this.finish(); |
} |
} |