]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/HtmlDisplayActivity.java
Apply astyle code formattting.
[Dictionary.git] / src / com / hughes / android / dictionary / HtmlDisplayActivity.java
index de3c138373728e8b764e0a8b8ffc1f4e5f633989..c64b4b5b668a1c84ebb96230d69ff710bd89fbe4 100644 (file)
@@ -54,7 +54,7 @@ public final class HtmlDisplayActivity extends ActionBarActivity {
     }
 
     public static Intent getHtmlIntent(Context c, final String html, final String textToHighlight,
-            final boolean showOkButton) {
+                                       final boolean showOkButton) {
         final Intent intent = new Intent(c, HtmlDisplayActivity.class);
         intent.putExtra(HTML, html);
         intent.putExtra(TEXT_TO_HIGHLIGHT, textToHighlight);
@@ -127,8 +127,7 @@ public final class HtmlDisplayActivity extends ActionBarActivity {
     public boolean onOptionsItemSelected(MenuItem item) {
         // Explicitly handle the up button press so
         // we return to the dictionary.
-        if (item.getItemId() == android.R.id.home)
-        {
+        if (item.getItemId() == android.R.id.home) {
             finish();
             return true;
         }