Commit a1270a18 authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Make a couple JavaDoc fixes.

parent 7c318d34
......@@ -239,8 +239,8 @@ public class ExoneraTorServlet extends HttpServlet {
/* Helper methods for handling the request. */
/** Parse an IP parameter and return either a non-<code>null</code> value in
* case the parameter was valid or empty, or <code>null</code> if it was
/** Parse an IP parameter and return either a non-{@code null} value in
* case the parameter was valid or empty, or {@code null} if it was
* non-empty and invalid. */
static String parseIpParameter(String passedIpParameter) {
String relayIp = null;
......
......@@ -37,25 +37,25 @@ public class QueryResponse {
/** Version of this response format. */
String version = VERSION;
/** Query IP address passed in the request; never <code>null</code>. */
/** Query IP address passed in the request; never {@code null}. */
String queryAddress;
/** Query date passed in the request; never <code>null</code>. */
/** Query date passed in the request; never {@code null}. */
String queryDate;
/** ISO-formatted valid-after time of the first status contained in the
* database; only <code>null</code> if the database is empty. */
* database; only {@code null} if the database is empty. */
String firstDateInDatabase;
/** ISO-formatted valid-after time of the last status contained in the
* database; only <code>null</code> if the database is empty. */
* database; only {@code null} if the database is empty. */
String lastDateInDatabase;
/** Whether there is at least one relevant status in the database on or within
* a day of the requested date; <code>null</code> if the database is empty. */
* a day of the requested date; {@code null} if the database is empty. */
Boolean relevantStatuses;
/** All matches for the given IP address and date; <code>null</code> if there
/** All matches for the given IP address and date; {@code null} if there
* were no matches at all. */
Match[] matches;
......@@ -123,7 +123,7 @@ public class QueryResponse {
/** Relay nickname. */
String nickname;
/** Whether this relay permitted exiting or not; <code>null</code> if
/** Whether this relay permitted exiting or not; {@code null} if
* unknown. */
Boolean exit;
......@@ -141,7 +141,7 @@ public class QueryResponse {
}
}
/** All known IP addresses in the same /24 or /48 network; <code>null</code>
/** All known IP addresses in the same /24 or /48 network; {@code null}
* if there were direct matches for the given IP address. */
String[] nearbyAddresses;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment