Javadoc fixes

NDT log tweaks
This commit is contained in:
zzz
2018-12-04 20:34:51 +00:00
parent 7c5162e155
commit 177f595f33
15 changed files with 30 additions and 32 deletions

View File

@ -7,7 +7,7 @@ import java.net.Socket;
/** /**
* OsfwWorker creates a thread that listens for a message from the server. It * OsfwWorker creates a thread that listens for a message from the server. It
* functions to check if the server has sent a message that is valid and * functions to check if the server has sent a message that is valid and
* sufficient to determine if the server->client direction has a fire-wall. * sufficient to determine if the server->client direction has a fire-wall.
* *
* <p> * <p>
* As part of the simple firewall test, the Server must try to connect to the * As part of the simple firewall test, the Server must try to connect to the
@ -49,7 +49,7 @@ public class OsfwWorker implements Runnable {
* @param iParamTestTime * @param iParamTestTime
* Test time duration to wait for message from server * Test time duration to wait for message from server
* @param _localParam * @param _localParam
* Applet object used to set the result of the S->C firewall test * Applet object used to set the result of the S-&gt;C firewall test
*/ */
OsfwWorker(ServerSocket srvSocketParam, int iParamTestTime, OsfwWorker(ServerSocket srvSocketParam, int iParamTestTime,
Tcpbw100 _localParam) { Tcpbw100 _localParam) {
@ -76,7 +76,7 @@ public class OsfwWorker implements Runnable {
/** /**
* run() method of this SFW Worker thread. This thread listens on the socket * run() method of this SFW Worker thread. This thread listens on the socket
* from the server for a given time period, and checks to see if the server * from the server for a given time period, and checks to see if the server
* has sent a message that is valid and sufficient to determine if the S->C * has sent a message that is valid and sufficient to determine if the S-&gt;C
* direction has a fire-wall. * direction has a fire-wall.
* */ * */
public void run() { public void run() {

View File

@ -563,38 +563,38 @@ public class Tcpbw100 extends JApplet implements ActionListener {
} }
/** /**
* Get Client->Server fire-wall test results. * Get Client-&gt;Server fire-wall test results.
* *
* @return integer indicating C->S test results * @return integer indicating C-&gt;S test results
* */ * */
public int getC2sSFWTestResults() { public int getC2sSFWTestResults() {
return this._iC2sSFWResult; return this._iC2sSFWResult;
} }
/** /**
* Set Client->Server fire-wall test results. * Set Client-&gt;Server fire-wall test results.
* *
* @param iParamC2SRes * @param iParamC2SRes
* integer indicating C->S test results * integer indicating C-&gt;S test results
* */ * */
public void setC2sSFWTestResults(int iParamC2SRes) { public void setC2sSFWTestResults(int iParamC2SRes) {
this._iC2sSFWResult = iParamC2SRes; this._iC2sSFWResult = iParamC2SRes;
} }
/** /**
* Get Server->Client fire-wall test results. * Get Server-&gt;Client fire-wall test results.
* *
* @return integer indicating C->S test results * @return integer indicating C-&gt;S test results
* */ * */
public int getS2cSFWTestResults() { public int getS2cSFWTestResults() {
return this._iS2cSFWResult; return this._iS2cSFWResult;
} }
/** /**
* Set server->Client fire-wall test results. * Set server-&gt;Client fire-wall test results.
* *
* @param iParamS2CRes * @param iParamS2CRes
* integer indicating C->S test results * integer indicating C-&gt;S test results
* */ * */
public void setS2cSFWTestResults(int iParamS2CRes) { public void setS2cSFWTestResults(int iParamS2CRes) {
this._iS2cSFWResult = iParamS2CRes; this._iS2cSFWResult = iParamS2CRes;
@ -4548,7 +4548,7 @@ public class Tcpbw100 extends JApplet implements ActionListener {
try { try {
t.interrupt(); t.interrupt();
} catch (RuntimeException re) { } catch (RuntimeException re) {
_log.warn("TG", re); _log.debug("TG", re);
} }
try { try {
Thread.sleep(20); Thread.sleep(20);
@ -4559,7 +4559,7 @@ public class Tcpbw100 extends JApplet implements ActionListener {
try { try {
t.stop(); t.stop();
} catch (RuntimeException re) { } catch (RuntimeException re) {
_log.warn("TG", re); _log.debug("TG", re);
} }
} }
} }
@ -4571,7 +4571,7 @@ public class Tcpbw100 extends JApplet implements ActionListener {
thread_group.destroy(); thread_group.destroy();
break; break;
}catch( Throwable e ){ }catch( Throwable e ){
_log.warn("TG", e); _log.debug("TG", e);
} }
} }

View File

@ -30,7 +30,7 @@ class I2PServerSocketFull implements I2PServerSocket {
* *
* @throws I2PException if there is a problem with reading a new socket * @throws I2PException if there is a problem with reading a new socket
* from the data available (e.g. the I2PSession is closed) * from the data available (e.g. the I2PSession is closed)
* @throws RouterRestartException (extends I2PException) if the router is apparently restarting, since 0.9.34 * @throws net.i2p.client.streaming.RouterRestartException (extends I2PException) if the router is apparently restarting, since 0.9.34
* @throws ConnectException if the I2PServerSocket is closed, or if interrupted. * @throws ConnectException if the I2PServerSocket is closed, or if interrupted.
* Not actually thrown through 0.9.16; thrown as of 0.9.17 * Not actually thrown through 0.9.16; thrown as of 0.9.17
* @throws SocketTimeoutException if a timeout was previously set with setSoTimeout and the timeout has been reached. * @throws SocketTimeoutException if a timeout was previously set with setSoTimeout and the timeout has been reached.

View File

@ -350,7 +350,7 @@ public class I2PSocketManagerFull implements I2PSocketManager {
* *
* @return connected I2PSocket, or null through 0.9.16, non-null as of 0.9.17 * @return connected I2PSocket, or null through 0.9.16, non-null as of 0.9.17
* @throws I2PException if session is closed * @throws I2PException if session is closed
* @throws RouterRestartException (extends I2PException) if the router is apparently restarting, since 0.9.34 * @throws net.i2p.client.streaming.RouterRestartException (extends I2PException) if the router is apparently restarting, since 0.9.34
* @throws ConnectException (since 0.9.17; I2PServerSocket interface always declared it) * @throws ConnectException (since 0.9.17; I2PServerSocket interface always declared it)
* @throws SocketTimeoutException if a timeout was previously set with setSoTimeout and the timeout has been reached. * @throws SocketTimeoutException if a timeout was previously set with setSoTimeout and the timeout has been reached.
*/ */

View File

@ -9,10 +9,10 @@ import java.util.List;
import java.util.StringTokenizer; import java.util.StringTokenizer;
/** /**
* |a:b:c| => |a|,|b|,|c| * |a:b:c| =&gt; |a|,|b|,|c|
* |:| => ||,|| * |:| =&gt; ||,||
* |a:| => |a|,|| * |a:| =&gt; |a|,||
* @author FangYidong<fangyidong@yahoo.com.cn> * @author FangYidong fangyidong@yahoo.com.cn
*/ */
public class ItemList { public class ItemList {
private String sp=","; private String sp=",";

View File

@ -14,7 +14,7 @@ import java.util.List;
/** /**
* A JSON array. JSONObject supports java.util.List interface. * A JSON array. JSONObject supports java.util.List interface.
* *
* @author FangYidong<fangyidong@yahoo.com.cn> * @author FangYidong fangyidong@yahoo.com.cn
*/ */
public class JSONArray extends ArrayList implements List, JSONAware, JSONStreamAware { public class JSONArray extends ArrayList implements List, JSONAware, JSONStreamAware {
private static final long serialVersionUID = 3957988303675231981L; private static final long serialVersionUID = 3957988303675231981L;

View File

@ -2,7 +2,7 @@ package org.json.simple;
/** /**
* Beans that support customized output of JSON text shall implement this interface. * Beans that support customized output of JSON text shall implement this interface.
* @author FangYidong<fangyidong@yahoo.com.cn> * @author FangYidong fangyidong@yahoo.com.cn
*/ */
public interface JSONAware { public interface JSONAware {
/** /**

View File

@ -13,7 +13,7 @@ import java.util.Map;
/** /**
* A JSON object. Key value pairs are unordered. JSONObject supports java.util.Map interface. * A JSON object. Key value pairs are unordered. JSONObject supports java.util.Map interface.
* *
* @author FangYidong<fangyidong@yahoo.com.cn> * @author FangYidong fangyidong@yahoo.com.cn
*/ */
public class JSONObject extends HashMap implements Map, JSONAware, JSONStreamAware{ public class JSONObject extends HashMap implements Map, JSONAware, JSONStreamAware{

View File

@ -5,7 +5,7 @@ import java.io.Writer;
/** /**
* Beans that support customized output of JSON text to a writer shall implement this interface. * Beans that support customized output of JSON text to a writer shall implement this interface.
* @author FangYidong<fangyidong@yahoo.com.cn> * @author FangYidong fangyidong@yahoo.com.cn
*/ */
public interface JSONStreamAware { public interface JSONStreamAware {
/** /**

View File

@ -16,7 +16,7 @@ import org.json.simple.parser.ParseException;
/** /**
* @author FangYidong<fangyidong@yahoo.com.cn> * @author FangYidong fangyidong@yahoo.com.cn
*/ */
public class JSONValue { public class JSONValue {
/** /**

View File

@ -8,7 +8,7 @@ import java.util.Map;
* *
* @see org.json.simple.parser.JSONParser#parse(java.io.Reader, ContainerFactory) * @see org.json.simple.parser.JSONParser#parse(java.io.Reader, ContainerFactory)
* *
* @author FangYidong<fangyidong@yahoo.com.cn> * @author FangYidong fangyidong@yahoo.com.cn
*/ */
public interface ContainerFactory { public interface ContainerFactory {
/** /**

View File

@ -8,7 +8,7 @@ import java.io.IOException;
* @see org.xml.sax.ContentHandler * @see org.xml.sax.ContentHandler
* @see org.json.simple.parser.JSONParser#parse(java.io.Reader, ContentHandler, boolean) * @see org.json.simple.parser.JSONParser#parse(java.io.Reader, ContentHandler, boolean)
* *
* @author FangYidong<fangyidong@yahoo.com.cn> * @author FangYidong fangyidong@yahoo.com.cn
*/ */
public interface ContentHandler { public interface ContentHandler {
/** /**

View File

@ -18,7 +18,7 @@ import org.json.simple.JSONObject;
/** /**
* Parser for JSON text. Please note that JSONParser is NOT thread-safe. * Parser for JSON text. Please note that JSONParser is NOT thread-safe.
* *
* @author FangYidong<fangyidong@yahoo.com.cn> * @author FangYidong fangyidong@yahoo.com.cn
*/ */
public class JSONParser { public class JSONParser {
public static final int S_INIT=0; public static final int S_INIT=0;
@ -56,8 +56,6 @@ public class JSONParser {
* Reset the parser to the initial state with a new character reader. * Reset the parser to the initial state with a new character reader.
* *
* @param in - The new character reader. * @param in - The new character reader.
* @throws IOException
* @throws ParseException
*/ */
public void reset(Reader in){ public void reset(Reader in){
lexer.yyreset(in); lexer.yyreset(in);

View File

@ -3,7 +3,7 @@ package org.json.simple.parser;
/** /**
* ParseException explains why and where the error occurs in source JSON text. * ParseException explains why and where the error occurs in source JSON text.
* *
* @author FangYidong<fangyidong@yahoo.com.cn> * @author FangYidong fangyidong@yahoo.com.cn
* *
*/ */
public class ParseException extends Exception { public class ParseException extends Exception {

View File

@ -5,7 +5,7 @@
package org.json.simple.parser; package org.json.simple.parser;
/** /**
* @author FangYidong<fangyidong@yahoo.com.cn> * @author FangYidong fangyidong@yahoo.com.cn
*/ */
public class Yytoken { public class Yytoken {
public static final int TYPE_VALUE=0;//JSON primitive value: string,number,boolean,null public static final int TYPE_VALUE=0;//JSON primitive value: string,number,boolean,null