From 3c4ad9161471be7d60872496d2dc03035ee3a99e Mon Sep 17 00:00:00 2001 From: cketti Date: Mon, 20 Oct 2014 21:24:18 -0400 Subject: [PATCH] Fix method names/visibility --- src/com/fsck/k9/view/AttachmentView.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/fsck/k9/view/AttachmentView.java b/src/com/fsck/k9/view/AttachmentView.java index 1fc9bec71..c4558d3b1 100644 --- a/src/com/fsck/k9/view/AttachmentView.java +++ b/src/com/fsck/k9/view/AttachmentView.java @@ -236,13 +236,13 @@ public class AttachmentView extends FrameLayout implements OnClickListener, OnLo out.flush(); out.close(); in.close(); - attachmentSaved(file.toString()); + displayAttachmentSavedMessage(file.toString()); new MediaScannerNotifier(context, file); } catch (IOException ioe) { if (K9.DEBUG) { Log.e(K9.LOG_TAG, "Error saving attachment", ioe); } - attachmentNotSaved(); + displayAttachmentNotSavedMessage(); } } @@ -264,12 +264,12 @@ public class AttachmentView extends FrameLayout implements OnClickListener, OnLo } } - public void attachmentSaved(final String filename) { + private void displayAttachmentSavedMessage(final String filename) { String message = context.getString(R.string.message_view_status_attachment_saved, filename); displayMessageToUser(message); } - public void attachmentNotSaved() { + private void displayAttachmentNotSavedMessage() { String message = context.getString(R.string.message_view_status_attachment_not_saved); displayMessageToUser(message); }