From 409dccd0beba0215ee899365a10edd0bed517cdd Mon Sep 17 00:00:00 2001
From: Christian Basler
Date: Tue, 24 May 2016 07:45:34 +0200
Subject: [PATCH] Fixed broken JavaDoc and removed unused import
---
.../dissem/bitmessage/BitmessageContext.java | 19 +++++++++----------
.../entity/payload/ObjectPayload.java | 1 -
2 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/core/src/main/java/ch/dissem/bitmessage/BitmessageContext.java b/core/src/main/java/ch/dissem/bitmessage/BitmessageContext.java
index 032431d..1b9b402 100644
--- a/core/src/main/java/ch/dissem/bitmessage/BitmessageContext.java
+++ b/core/src/main/java/ch/dissem/bitmessage/BitmessageContext.java
@@ -233,16 +233,15 @@ public class BitmessageContext {
* Sends messages again whose time to live expired without being acknowledged. (And whose
* recipient is expected to send acknowledgements.
*
- * You should call this method regularly, but be aware of the following:
- *
- * - As messages might be sent, POW will be done. It is therefore not advised to
- * call it on shutdown.
- * - It shouldn't be called right after startup, as it's possible the missing
- * acknowledgement was sent while the client was offline.
- * - Other than that, the call isn't expensive as long as there is no message
- * to send, so it might be a good idea to just call it every few minutes.
- *
- *
+ * You should call this method regularly, but be aware of the following:
+ *
+ * - As messages might be sent, POW will be done. It is therefore not advised to
+ * call it on shutdown.
+ * - It shouldn't be called right after startup, as it's possible the missing
+ * acknowledgement was sent while the client was offline.
+ * - Other than that, the call isn't expensive as long as there is no message
+ * to send, so it might be a good idea to just call it every few minutes.
+ *
*/
public void resendUnacknowledgedMessages() {
ctx.resendUnacknowledged();
diff --git a/core/src/main/java/ch/dissem/bitmessage/entity/payload/ObjectPayload.java b/core/src/main/java/ch/dissem/bitmessage/entity/payload/ObjectPayload.java
index a7dbaff..33da28d 100644
--- a/core/src/main/java/ch/dissem/bitmessage/entity/payload/ObjectPayload.java
+++ b/core/src/main/java/ch/dissem/bitmessage/entity/payload/ObjectPayload.java
@@ -18,7 +18,6 @@ package ch.dissem.bitmessage.entity.payload;
import ch.dissem.bitmessage.entity.ObjectMessage;
import ch.dissem.bitmessage.entity.Streamable;
-import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import java.io.IOException;
import java.io.OutputStream;