Skip to content
Snippets Groups Projects
Verified Commit 6f1fba44 authored by Julian Dehm's avatar Julian Dehm
Browse files

Fix random javadoc errors

parent 496ffc22
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -5,7 +5,7 @@ import org.briarproject.bramble.api.nullsafety.NotNullByDefault; ...@@ -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
......
...@@ -7,12 +7,12 @@ package org.briarproject.bramble.api.system; ...@@ -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;
} }
...@@ -10,37 +10,37 @@ import java.security.GeneralSecurityException; ...@@ -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;
} }
...@@ -34,8 +34,8 @@ import javax.annotation.Nullable; ...@@ -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> {
......
...@@ -32,7 +32,7 @@ public interface BlogManager { ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment