Merge branch 'fix-javadoc' into 'master'

Fix random javadoc errors

See merge request akwizgran/briar!789
This commit is contained in:
akwizgran
2018-05-08 12:56:25 +00:00
5 changed files with 13 additions and 13 deletions

View File

@@ -5,7 +5,7 @@ import org.briarproject.bramble.api.nullsafety.NotNullByDefault;
import javax.annotation.concurrent.Immutable; import javax.annotation.concurrent.Immutable;
/** /**
* A key pair consisting of a {@link PublicKey} and a {@link PrivateKey). * A key pair consisting of a {@link PublicKey} and a {@link PrivateKey}.
*/ */
@Immutable @Immutable
@NotNullByDefault @NotNullByDefault

View File

@@ -7,12 +7,12 @@ package org.briarproject.bramble.api.system;
public interface Clock { public interface Clock {
/** /**
* @see {@link System#currentTimeMillis()} * @see System#currentTimeMillis()
*/ */
long currentTimeMillis(); long currentTimeMillis();
/** /**
* @see {@link Thread#sleep(long)} * @see Thread#sleep(long)
*/ */
void sleep(long milliseconds) throws InterruptedException; void sleep(long milliseconds) throws InterruptedException;
} }

View File

@@ -10,37 +10,37 @@ import java.security.GeneralSecurityException;
interface Signature { interface Signature {
/** /**
* @see {@link java.security.Signature#initSign(java.security.PrivateKey)} * @see java.security.Signature#initSign(java.security.PrivateKey)
*/ */
void initSign(PrivateKey k) throws GeneralSecurityException; void initSign(PrivateKey k) throws GeneralSecurityException;
/** /**
* @see {@link java.security.Signature#initVerify(java.security.PublicKey)} * @see java.security.Signature#initVerify(java.security.PublicKey)
*/ */
void initVerify(PublicKey k) throws GeneralSecurityException; void initVerify(PublicKey k) throws GeneralSecurityException;
/** /**
* @see {@link java.security.Signature#update(byte)} * @see java.security.Signature#update(byte)
*/ */
void update(byte b) throws GeneralSecurityException; void update(byte b) throws GeneralSecurityException;
/** /**
* @see {@link java.security.Signature#update(byte[])} * @see java.security.Signature#update(byte[])
*/ */
void update(byte[] b) throws GeneralSecurityException; void update(byte[] b) throws GeneralSecurityException;
/** /**
* @see {@link java.security.Signature#update(byte[], int, int)} * @see java.security.Signature#update(byte[], int, int)
*/ */
void update(byte[] b, int off, int len) throws GeneralSecurityException; void update(byte[] b, int off, int len) throws GeneralSecurityException;
/** /**
* @see {@link java.security.Signature#sign()} * @see java.security.Signature#sign()}
*/ */
byte[] sign() throws GeneralSecurityException; byte[] sign() throws GeneralSecurityException;
/** /**
* @see {@link java.security.Signature#verify(byte[])} * @see java.security.Signature#verify(byte[])
*/ */
boolean verify(byte[] signature) throws GeneralSecurityException; boolean verify(byte[] signature) throws GeneralSecurityException;
} }

View File

@@ -34,8 +34,8 @@ import javax.annotation.Nullable;
* A low-level interface to the database (DatabaseComponent provides a * A low-level interface to the database (DatabaseComponent provides a
* high-level interface). Most operations take a transaction argument, which is * high-level interface). Most operations take a transaction argument, which is
* obtained by calling {@link #startTransaction()}. Every transaction must be * obtained by calling {@link #startTransaction()}. Every transaction must be
* terminated by calling either {@link #abortTransaction(T)} or * terminated by calling either {@link #abortTransaction(Object) abortTransaction(T)} or
* {@link #commitTransaction(T)}, even if an exception is thrown. * {@link #commitTransaction(Object) commitTransaction(T)}, even if an exception is thrown.
*/ */
@NotNullByDefault @NotNullByDefault
interface Database<T> { interface Database<T> {

View File

@@ -32,7 +32,7 @@ public interface BlogManager {
int MINOR_VERSION = 0; int MINOR_VERSION = 0;
/** /**
* Adds the given {@link Blog).} * Adds the given {@link Blog}.
*/ */
void addBlog(Blog b) throws DbException; void addBlog(Blog b) throws DbException;