Changeset d196047


Ignore:
Timestamp:
Jan 26, 2017 9:45:47 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
b970912
Parents:
eefb36c
Message:

javadoc fixes part 6 (ticket #1894)

Files:
9 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/gnu/crypto/prng/IRandomStandalone.java

    reefb36c rd196047  
    115115     * @return the next 8 bits of random data generated from this instance.
    116116     * @throws IllegalStateException if the instance is not yet initialised.
    117      * @throws LimLimitReachedExceptionStandalone this instance has reached its
     117     * @throws LimitReachedExceptionStandalone this instance has reached its
    118118     * theoretical limit for generating non-repetitive pseudo-random data.
    119119     */
     
    132132     * does nothing if this parameter is less than <code>1</code>.
    133133     * @throws IllegalStateException if the instance is not yet initialised.
    134      * @throws LimitLimitReachedExceptionStandalonehis instance has reached its
     134     * @throws LimitReachedExceptionStandalone this instance has reached its
    135135     * theoretical limit for generating non-repetitive pseudo-random data.
    136136     */
  • core/java/src/net/i2p/data/SDSCache.java

    reefb36c rd196047  
    2626 *  <pre>
    2727
    28     private static final SDSCache<Foo> _cache = new SDSCache(Foo.class, LENGTH, 1024);
     28    private static final SDSCache&lt;Foo&gt; _cache = new SDSCache(Foo.class, LENGTH, 1024);
    2929
    3030    public static Foo create(byte[] data) {
     
    114114     *          makes a new object and returns it
    115115     *  @throws IllegalArgumentException if data is not the correct number of bytes
    116      *  @throws NPE
     116     *  @throws NullPointerException
    117117     */
    118118    public V get(byte[] data) {
  • core/java/src/net/i2p/data/i2cp/I2CPMessageImpl.java

    reefb36c rd196047  
    2929
    3030    /**
    31      * Validate the type and size of the message, and then read the message into the data structures.  <p />
     31     * Validate the type and size of the message, and then read the message into the data structures.  <p>
    3232     *
    3333     * @throws IOException
  • core/java/src/net/i2p/stat/Rate.java

    reefb36c rd196047  
    139139    /**
    140140     * Create a new rate and load its state from the properties, taking data
    141      * from the data points underneath the given prefix.  <p />
     141     * from the data points underneath the given prefix.  <p>
    142142     * (e.g. prefix = "profile.dbIntroduction.60m", this will load the associated data points such
    143143     * as "profile.dbIntroduction.60m.lifetimeEventCount").  The data can be exported
  • router/java/src/net/i2p/data/i2np/I2NPMessage.java

    reefb36c rd196047  
    6363     * @return size of the message read (including headers)
    6464     * @throws I2NPMessageException if there is no valid message
    65      * @throws IOException if there is a problem reading from the stream
    6665     */
    6766    public int readBytes(byte data[], int type, int offset) throws I2NPMessageException;
     
    8079     * @return size of the message read (including headers)
    8180     * @throws I2NPMessageException if there is no valid message
    82      * @throws IOException if there is a problem reading from the stream
    8381     * @since 0.8.12
    8482     */
     
    9694     * @throws I2NPMessageException if the stream doesn't contain a valid message
    9795     *          that this class can read.
    98      * @throws IOException if there is a problem reading from the stream
    9996     */
    10097    public void readMessage(byte data[], int offset, int dataSize, int type) throws I2NPMessageException;
  • router/java/src/net/i2p/router/InNetMessagePool.java

    reefb36c rd196047  
    9393    /**
    9494     * @return previous builder for this message type, or null
    95      * @throws AIOOBE if i2npMessageType is greater than MAX_I2NP_MESSAGE_TYPE
     95     * @throws ArrayIndexOutOfBoundsException if i2npMessageType is greater than MAX_I2NP_MESSAGE_TYPE
    9696     */
    9797    public synchronized HandlerJobBuilder registerHandlerJobBuilder(int i2npMessageType, HandlerJobBuilder builder) {
     
    103103    /**
    104104     * @return previous builder for this message type, or null
    105      * @throws AIOOBE if i2npMessageType is greater than MAX_I2NP_MESSAGE_TYPE
     105     * @throws ArrayIndexOutOfBoundsException if i2npMessageType is greater than MAX_I2NP_MESSAGE_TYPE
    106106     * @deprecated unused
    107107     */
  • router/java/src/net/i2p/router/message/CloveSet.java

    reefb36c rd196047  
    3535    public int getCloveCount() { return _cloves.length; }
    3636
    37     /** @throws AIOOBE */
     37    /** @throws ArrayIndexOutOfBoundsException */
    3838    public GarlicClove getClove(int index) { return _cloves[index]; }
    3939   
  • router/java/src/net/i2p/router/startup/LoadClientAppsJob.java

    reefb36c rd196047  
    184184     *  @param clientName can be null
    185185     *  @param args can be null
    186      *  @throws just about anything, caller would be wise to catch Throwable
     186     *  @throws Exception just about anything, caller would be wise to catch Throwable
    187187     *  @since 0.7.13
    188188     */
  • router/java/src/net/i2p/router/transport/udp/OutboundMessageState.java

    reefb36c rd196047  
    4848     *
    4949     *  Called from UDPTransport.
    50      *  @throws IAE if too big or if msg or peer is null
     50     *  @throws IllegalArgumentException if too big or if msg or peer is null
    5151     */
    5252    public OutboundMessageState(I2PAppContext context, I2NPMessage msg, PeerState peer) {
     
    5858     *
    5959     *  Called from OutboundMessageFragments.
    60      *  @throws IAE if too big or if msg or peer is null
     60     *  @throws IllegalArgumentException if too big or if msg or peer is null
    6161     */
    6262    public OutboundMessageState(I2PAppContext context, OutNetMessage m, PeerState peer) {
     
    6767     *  Internal.
    6868     *  @param m null if msg is "injected"
    69      *  @throws IAE if too big or if msg or peer is null
     69     *  @throws IllegalArgumentException if too big or if msg or peer is null
    7070     */
    7171    private OutboundMessageState(I2PAppContext context, OutNetMessage m, I2NPMessage msg, PeerState peer) {
Note: See TracChangeset for help on using the changeset viewer.