Changeset e461e8f


Ignore:
Timestamp:
Jan 26, 2017 8:51:05 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
dc5bfb2
Parents:
8bb114e
Message:

javadoc fixes part 3 (ticket #1894)

Files:
10 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/BitField.java

    r8bb114e re461e8f  
    4949   * Extra bytes will be ignored.
    5050   *
    51    * @exception ArrayOutOfBoundsException if give byte array is not large
     51   * @throws ArrayOutOfBoundsException if give byte array is not large
    5252   * enough.
    5353   */
     
    9191   * Sets the given bit to true.
    9292   *
    93    * @exception IndexOutOfBoundsException if bit is smaller then zero
     93   * @throws IndexOutOfBoundsException if bit is smaller then zero
    9494   * bigger then size (inclusive).
    9595   */
     
    111111   * Sets the given bit to false.
    112112   *
    113    * @exception IndexOutOfBoundsException if bit is smaller then zero
     113   * @throws IndexOutOfBoundsException if bit is smaller then zero
    114114   * bigger then size (inclusive).
    115115   * @since 0.9.22
     
    142142   * Return true if the bit is set or false if it is not.
    143143   *
    144    * @exception IndexOutOfBoundsException if bit is smaller then zero
     144   * @throws IndexOutOfBoundsException if bit is smaller then zero
    145145   * bigger then size (inclusive).
    146146   */
  • apps/i2psnark/java/src/org/klomp/snark/MetaInfo.java

    r8bb114e re461e8f  
    465465   * except for the last one (<code>getPieces()-1</code>).
    466466   *
    467    * @exception IndexOutOfBoundsException when piece is equal to or
     467   * @throws IndexOutOfBoundsException when piece is equal to or
    468468   * greater then the number of pieces in the torrent.
    469469   */
  • apps/i2psnark/java/src/org/klomp/snark/Peer.java

    r8bb114e re461e8f  
    116116   *
    117117   * @param metainfo null if in magnet mode
    118    * @exception IOException when an error occurred during the handshake.
     118   * @throws IOException when an error occurred during the handshake.
    119119   */
    120120  public Peer(final I2PSocket sock, InputStream in, OutputStream out, byte[] my_id, byte[] infohash, MetaInfo metainfo)
  • apps/i2psnark/java/src/org/klomp/snark/Storage.java

    r8bb114e re461e8f  
    11121112   * @return true if the piece was correct (sha metainfo hash
    11131113   * matches), otherwise false.
    1114    * @exception IOException when some storage related error occurs.
     1114   * @throws IOException when some storage related error occurs.
    11151115   */
    11161116  public boolean putPiece(PartialPiece pp) throws IOException
  • apps/i2psnark/java/src/org/klomp/snark/bencode/BDecoder.java

    r8bb114e re461e8f  
    103103   * has ended.
    104104   *
    105    * @exception InvalidBEncoding when the stream doesn't start with a
     105   * @throws InvalidBEncoding when the stream doesn't start with a
    106106   * bencoded value or the stream isn't a bencoded stream at all.
    107    * @exception IOException when somthing bad happens with the stream
     107   * @throws IOException when somthing bad happens with the stream
    108108   * to read from.
    109109   */
  • apps/jetty/java/src/org/mortbay/servlet/MultiPartRequest.java

    r8bb114e re461e8f  
    7272     * @param request The request containing a multipart/form-data
    7373     * request
    74      * @exception IOException IOException
     74     * @throws IOException IOException
    7575     */
    7676    public MultiPartRequest(HttpServletRequest request)
  • apps/jetty/java/src/org/mortbay/util/LineInput.java

    r8bb114e re461e8f  
    114114     * @param bufferSize The buffer size and maximum line length.
    115115     * @param encoding the character encoding to use for readLine methods.
    116      * @exception UnsupportedEncodingException
     116     * @throws UnsupportedEncodingException
    117117     */
    118118    public LineInput(InputStream in, int bufferSize, String encoding)
     
    181181     * characters.
    182182     * @return The line as a String or null for EOF.
    183      * @exception IOException
     183     * @throws IOException
    184184     */
    185185    public synchronized String readLine()
     
    218218     * @param len Maximum length of line.
    219219     * @return The length of the line or -1 for EOF.
    220      * @exception IOException
     220     * @throws IOException
    221221     */
    222222    public int readLine(char[] c,int off,int len)
     
    252252     * @param len Maximum length of line.
    253253     * @return The length of the line or -1 for EOF.
    254      * @exception IOException
     254     * @throws IOException
    255255     */
    256256    public int readLine(byte[] b,int off,int len)
     
    278278     * characters.
    279279     * @return LineBuffer instance or null for EOF.
    280      * @exception IOException
     280     * @throws IOException
    281281     */
    282282    public LineBuffer readLineBuffer()
     
    294294     * @param len Maximum length of a line, or 0 for default
    295295     * @return LineBuffer instance or null for EOF.
    296      * @exception IOException
     296     * @throws IOException
    297297     */
    298298    public LineBuffer readLineBuffer(int len)
  • core/java/src/gnu/getopt/LongOpt.java

    r8bb114e re461e8f  
    118118  * @param val The value to return for this long option, or the equivalent single letter option to emulate if flag is null.
    119119  *
    120   * @exception IllegalArgumentException If the has_arg param is not one of NO_ARGUMENT, REQUIRED_ARGUMENT or OPTIONAL_ARGUMENT.
     120  * @throws IllegalArgumentException If the has_arg param is not one of NO_ARGUMENT, REQUIRED_ARGUMENT or OPTIONAL_ARGUMENT.
    121121  */
    122122public
  • core/java/src/net/i2p/crypto/CryptixRijndael_Algorithm.java

    r8bb114e re461e8f  
    372372     *
    373373     * @param k The 128/192/256-bit user-key to use.
    374      * @exception  InvalidKeyException  If the key is invalid.
     374     * @throws  InvalidKeyException  If the key is invalid.
    375375     */
    376376    public static final Object makeKey(byte[] k) throws InvalidKeyException {
     
    551551     * @param k          The 128/192/256-bit user-key to use.
    552552     * @param blockSize  The block size in bytes of this Rijndael.
    553      * @exception  InvalidKeyException  If the key is invalid.
     553     * @throws  InvalidKeyException  If the key is invalid.
    554554     */
    555555    public static final/* synchronized */Object makeKey(byte[] k, int blockSize) throws InvalidKeyException {
  • core/java/src/org/bouncycastle/oldcrypto/Mac.java

    r8bb114e re461e8f  
    3939     *
    4040     * @param key the key required by the MAC.
    41      * @exception IllegalArgumentException if the params argument is
     41     * @throws IllegalArgumentException if the params argument is
    4242     * inappropriate.
    4343     */
     
    6363     *
    6464     * @param in the byte to be processed.
    65      * @exception IllegalStateException if the MAC is not initialised.
     65     * @throws IllegalStateException if the MAC is not initialised.
    6666     */
    6767    public void update(byte in)
     
    7272     * @param inOff the index in the array the data begins at.
    7373     * @param len the length of the input starting at inOff.
    74      * @exception IllegalStateException if the MAC is not initialised.
     74     * @throws IllegalStateException if the MAC is not initialised.
    7575     */
    7676    public void update(byte[] in, int inOff, int len)
     
    8585     * @param out the array the MAC is to be output to.
    8686     * @param outOff the offset into the out buffer the output is to start at.
    87      * @exception IllegalStateException if the MAC is not initialised.
     87     * @throws IllegalStateException if the MAC is not initialised.
    8888     */
    8989    public int doFinal(byte[] out, int outOff)
Note: See TracChangeset for help on using the changeset viewer.