X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fcom%2Fstoutner%2Fprivacybrowser%2Factivities%2FViewSourceActivity.java;h=62c704de7728db11a0d78f9a4a2b13a61b94fc24;hp=8e7f5e968534dc591105ba5b9bd6557303a5b6c1;hb=33bd447a83bd3d763ee26bbb3a3f4adb074776ed;hpb=d74854d2f02ef3aaa9ecb13185add6c7869d05a7 diff --git a/app/src/main/java/com/stoutner/privacybrowser/activities/ViewSourceActivity.java b/app/src/main/java/com/stoutner/privacybrowser/activities/ViewSourceActivity.java index 8e7f5e96..62c704de 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/activities/ViewSourceActivity.java +++ b/app/src/main/java/com/stoutner/privacybrowser/activities/ViewSourceActivity.java @@ -206,7 +206,7 @@ public class ViewSourceActivity extends AppCompatActivity { @Override public boolean onCreateOptionsMenu(Menu menu) { - // Inflate the menu; this adds items to the action bar if it is present. + // Inflate the menu. This adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.view_source_options_menu, menu); // Display the menu. @@ -291,7 +291,7 @@ public class ViewSourceActivity extends AppCompatActivity { } } - // `String` declares the parameters. `Void` does not declare progress units. `String[]` contains the results. + // `String` declares the parameters. `Void` does not declare progress units. `SpannableStringBuilder[]` contains the results. private static class GetSource extends AsyncTask { // Create a weak reference to the calling activity. private WeakReference activityWeakReference; @@ -663,7 +663,7 @@ public class ViewSourceActivity extends AppCompatActivity { // `onPostExecute()` operates on the UI thread. @Override protected void onPostExecute(SpannableStringBuilder[] viewSourceStringArray){ - // Get a handle the activity. + // Get a handle for the activity. Activity activity = activityWeakReference.get(); // Abort if the activity is gone.