Fixed broken JavaDoc and removed unused import

This commit is contained in:
Christian Basler 2016-05-24 07:45:34 +02:00
parent ed6344c662
commit 409dccd0be
2 changed files with 9 additions and 11 deletions

View File

@ -233,16 +233,15 @@ public class BitmessageContext {
* Sends messages again whose time to live expired without being acknowledged. (And whose * Sends messages again whose time to live expired without being acknowledged. (And whose
* recipient is expected to send acknowledgements. * recipient is expected to send acknowledgements.
* <p> * <p>
* You should call this method regularly, but be aware of the following: * You should call this method regularly, but be aware of the following:
* <ul> * <ul>
* <li>As messages might be sent, POW will be done. It is therefore not advised to * <li>As messages might be sent, POW will be done. It is therefore not advised to
* call it on shutdown.</li> * call it on shutdown.</li>
* <li>It shouldn't be called right after startup, as it's possible the missing * <li>It shouldn't be called right after startup, as it's possible the missing
* acknowledgement was sent while the client was offline.</li> * acknowledgement was sent while the client was offline.</li>
* <li>Other than that, the call isn't expensive as long as there is no message * <li>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.</li> * to send, so it might be a good idea to just call it every few minutes.</li>
* </ul> * </ul>
* </p>
*/ */
public void resendUnacknowledgedMessages() { public void resendUnacknowledgedMessages() {
ctx.resendUnacknowledged(); ctx.resendUnacknowledged();

View File

@ -18,7 +18,6 @@ package ch.dissem.bitmessage.entity.payload;
import ch.dissem.bitmessage.entity.ObjectMessage; import ch.dissem.bitmessage.entity.ObjectMessage;
import ch.dissem.bitmessage.entity.Streamable; import ch.dissem.bitmessage.entity.Streamable;
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream; import java.io.OutputStream;