Remove maven target, cleanup

This commit is contained in:
Manfred Karrer 2015-04-27 18:51:00 +02:00
parent 1f362d80a2
commit 2912a02185
3 changed files with 3 additions and 44 deletions

View file

@ -97,8 +97,7 @@ public class TomP2PMessageService extends TomP2PService implements MessageServic
else {
log.info("sendMessage failed. We will try to send the message to the mailbox. Fault reason: " +
futureDirect.failedReason());
if (pubKeyRing != null)
sendMailboxMessage(pubKeyRing, (SealedAndSignedMessage) encryptedMessage, listener);
sendMailboxMessage(pubKeyRing, (SealedAndSignedMessage) encryptedMessage, listener);
}
}
@ -106,8 +105,7 @@ public class TomP2PMessageService extends TomP2PService implements MessageServic
public void exceptionCaught(Throwable t) throws Exception {
log.info("sendMessage failed with exception. We will try to send the message to the mailbox. Exception: "
+ t.getMessage());
if (pubKeyRing != null)
sendMailboxMessage(pubKeyRing, (SealedAndSignedMessage) encryptedMessage, listener);
sendMailboxMessage(pubKeyRing, (SealedAndSignedMessage) encryptedMessage, listener);
}
}
);
@ -119,7 +117,6 @@ public class TomP2PMessageService extends TomP2PService implements MessageServic
}
}
private void sendMailboxMessage(PubKeyRing pubKeyRing, SealedAndSignedMessage message, SendMessageListener listener) {
log.info("sendMailboxMessage called");
mailboxService.addMessage(