mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Cosmetic changes
This commit is contained in:
parent
e9e9d5afcb
commit
f6a647d7b0
@ -124,7 +124,7 @@ public class MessageView extends K9Activity implements OnClickListener {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onMount(String providerId) {} // no-op
|
||||
public void onMount(String providerId) { /* no-op */ }
|
||||
}
|
||||
|
||||
|
||||
@ -355,9 +355,10 @@ public class MessageView extends K9Activity implements OnClickListener {
|
||||
* @param messReferences
|
||||
* @param originatingIntent
|
||||
* The intent that allow us to get back to the calling screen, for when the 'Manage
|
||||
* BACK' option is enabled. Never {@code null}.
|
||||
* "Back" button' option is enabled. Never {@code null}.
|
||||
*/
|
||||
public static void actionView(Context context, MessageReference messRef, ArrayList<MessageReference> messReferences, final Intent originatingIntent) {
|
||||
public static void actionView(Context context, MessageReference messRef,
|
||||
ArrayList<MessageReference> messReferences, final Intent originatingIntent) {
|
||||
Intent i = new Intent(context, MessageView.class);
|
||||
i.putExtra(EXTRA_MESSAGE_REFERENCE, messRef);
|
||||
i.putParcelableArrayListExtra(EXTRA_MESSAGE_REFERENCES, messReferences);
|
||||
@ -426,7 +427,7 @@ public class MessageView extends K9Activity implements OnClickListener {
|
||||
} else {
|
||||
List<String> segmentList = uri.getPathSegments();
|
||||
if (segmentList.size() != 3) {
|
||||
//TODO: Use ressource to externalize message
|
||||
//TODO: Use resource to externalize message
|
||||
Toast.makeText(this, "Invalid intent uri: " + uri.toString(), Toast.LENGTH_LONG).show();
|
||||
return;
|
||||
}
|
||||
@ -442,7 +443,7 @@ public class MessageView extends K9Activity implements OnClickListener {
|
||||
}
|
||||
}
|
||||
if (!found) {
|
||||
//TODO: Use ressource to externalize message
|
||||
//TODO: Use resource to externalize message
|
||||
Toast.makeText(this, "Invalid account id: " + accountId, Toast.LENGTH_LONG).show();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user