Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08f79b13 authored by cketti's avatar cketti
Browse files

Remove unnecessary IOException from methods signatures

parent af4fa433
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1219,7 +1219,7 @@ public class MessageCompose extends K9Activity implements OnClickListener,
                    break;
                }
            }
        } catch (MessagingException | IOException e) {
        } catch (MessagingException e) {
            /*
             * Let the user continue composing their message even if we have a problem processing
             * the source message. Log it as an error, though.
@@ -1282,7 +1282,7 @@ public class MessageCompose extends K9Activity implements OnClickListener,

    }

    private void processMessageToForward(MessageViewInfo messageViewInfo, boolean asAttachment) throws IOException, MessagingException {
    private void processMessageToForward(MessageViewInfo messageViewInfo, boolean asAttachment) throws MessagingException {
        Message message = messageViewInfo.message;

        String subject = message.getSubject();
+1 −4
Original line number Diff line number Diff line
package com.fsck.k9.activity.compose;


import java.io.IOException;
import java.util.ArrayList;
import java.util.LinkedHashMap;

@@ -192,9 +191,7 @@ public class AttachmentPresenter {
        }
    }

    public void processMessageToForwardAsAttachment(MessageViewInfo messageViewInfo) throws IOException,
            MessagingException {

    public void processMessageToForwardAsAttachment(MessageViewInfo messageViewInfo) throws MessagingException {
        if (messageViewInfo.isMessageIncomplete) {
            attachmentMvpView.showMissingAttachmentsPartialMessageForwardWarning();
        } else {