From 317bf1e9dbded0f9fe7c3acd80a5062e7fefef1f Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Sun, 31 May 2020 12:46:13 +0000 Subject: [PATCH] Fix javadoc errors --- build.xml | 4 +++- core/java/src/org/json/simple/Yylex.java | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/build.xml b/build.xml index 09721827de..4c37cc2b6a 100644 --- a/build.xml +++ b/build.xml @@ -870,6 +870,8 @@ <ant dir="apps/jetty" target="ensureJettylib" /> <mkdir dir="./build" /> <mkdir dir="./build/javadoc" /> + <!-- set if unset --> + <property name="javac.version" value="1.8" /> <javadoc access="package" source="${javac.version}" destdir="./build/javadoc" @@ -880,7 +882,7 @@ additionalparam="-notimestamp" doctitle="I2P Javadocs for Release ${release.number} Build ${i2p.build.number}${build.extra}" windowtitle="I2P Anonymous Network - Java Documentation - Version ${release.number}"> - <group title="Core SDK (i2p.jar)" packages="net.i2p:net.i2p.*:net.i2p.client:net.i2p.client.*:net.i2p.internal:net.i2p.internal.*:freenet.support.CPUInformation:gnu.crypto.*:gnu.getopt:gnu.gettext:com.nettgryppa.security:org.apache.http.conn.ssl:org.apache.http.conn.util:org.apache.http.util:org.json.simple:org.json.simple:com.southernstorm.noise.crypto.x25519:com.southernstorm.noise.crypto.chacha20" /> + <group title="Core SDK (i2p.jar)" packages="net.i2p:net.i2p.*:net.i2p.client:net.i2p.client.*:net.i2p.internal:net.i2p.internal.*:freenet.support.CPUInformation:gnu.crypto.*:gnu.getopt:gnu.gettext:com.nettgryppa.security:org.apache.http.conn.ssl:org.apache.http.conn.util:org.apache.http.util:org.json.simple:com.southernstorm.noise.crypto.x25519:com.southernstorm.noise.crypto.chacha20" /> <group title="Streaming Library" packages="net.i2p.client.streaming:net.i2p.client.streaming.impl" /> <group title="Router" packages="net.i2p.router:net.i2p.router.*:net.i2p.data.i2np:net.i2p.data.router:org.cybergarage:org.cybergarage.*:org.freenetproject:org.xlattice.crypto.filters:com.maxmind.*:com.southernstorm.noise.*" /> <group title="Router Console" packages="net.i2p.router.web:net.i2p.router.web.*:net.i2p.router.update:net.i2p.router.sybil:edu.internet2.ndt:net.i2p.router.news:com.vuze.*" /> diff --git a/core/java/src/org/json/simple/Yylex.java b/core/java/src/org/json/simple/Yylex.java index db438aa562..13e4696d62 100644 --- a/core/java/src/org/json/simple/Yylex.java +++ b/core/java/src/org/json/simple/Yylex.java @@ -7,7 +7,7 @@ package org.json.simple; * This class is a scanner generated by * <a href="http://www.jflex.de/">JFlex</a> 1.4.3 * on 8/30/16 5:50 PM from the specification file - * <tt>/home/davinloegering/cliftonlabs/workspace/json-simple/src/main/lex/jsonstrict.lex</tt> + * <code>/home/davinloegering/cliftonlabs/workspace/json-simple/src/main/lex/jsonstrict.lex</code> */ class Yylex { @@ -393,7 +393,7 @@ int getPosition(){ * * All internal variables are reset, the old input stream * <b>cannot</b> be reused (internal buffer is discarded and lost). - * Lexical state is set to <tt>ZZ_INITIAL</tt>. + * Lexical state is set to <code>ZZ_INITIAL</code>. * * @param reader the new input stream */ @@ -436,7 +436,7 @@ int getPosition(){ /** - * Returns the character at position <tt>pos</tt> from the + * Returns the character at position <code>pos</code> from the * matched text. * * It is equivalent to yytext().charAt(pos), but faster -- GitLab