Changeset 0717696


Ignore:
Timestamp:
Feb 13, 2016 3:17:41 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
e65bd26
Parents:
6ab5b84
Message:

Javadoc fixes in imagegen, sam, crypto
package.html files for imagegen

Files:
3 added
8 edited

Legend:

Unmodified
Added
Removed
  • apps/imagegen/identicon/core/src/main/java/com/docuverse/identicon/IdenticonUtil.java

    r6ab5b84 r0717696  
    88 * class methods for convenience.
    99 * <p>
    10  * Key method of interest is {@link getIdenticonCode} which converts IP address
     10 * Key method of interest is {@link #getIdenticonCode} which converts IP address
    1111 * into identicon code.<br>
    1212 * <strong>IMPORTANT</strong>: <code>inetSalt</code> value must be set to
     
    5050         * Returns current inetSalt value.
    5151         *
    52          * @return
     52         * @return the value
    5353         */
    5454        public static String getInetSalt() {
     
    118118         * @param remoteAddr
    119119         *            HTTP requester's IP address. Optional if code was specified.
    120          * @return
     120         * @return the code
    121121         */
    122122        public static int getIdenticonCode(String codeParam, String remoteAddr) {
  • apps/imagegen/identicon/core/src/main/java/com/docuverse/identicon/NineBlockIdenticonRenderer2.java

    r6ab5b84 r0717696  
    101101         * they are scaled down to requested identicon size.
    102102         *
    103          * @return
     103         * @return the size
    104104         */
    105105        public float getPatchSize() {
     
    162162         * <p>
    163163         * Size of the returned identicon image is determined by patchSize set using
    164          * {@link setPatchSize}. Since a 9-block identicon consists of 3x3 patches,
     164         * {@link #setPatchSize}. Since a 9-block identicon consists of 3x3 patches,
    165165         * width and height will be 3 times the patch size.
    166166         * </p>
     
    305305         * @param c1
    306306         * @param c2
    307          * @return
     307         * @return the distance
    308308         */
    309309        private float getColorDistance(Color c1, Color c2) {
     
    318318         *
    319319         * @param color
    320          * @return
     320         * @return the complement
    321321         */
    322322        private Color getComplementaryColor(Color color) {
  • apps/imagegen/imagegen/webapp/src/main/java/net/i2p/imagegen/IdenticonServlet.java

    r6ab5b84 r0717696  
    8888                if (cacheProvider != null) {
    8989                        try {
    90                                 Class cacheClass = Class.forName(cacheProvider);
     90                                Class<?> cacheClass = Class.forName(cacheProvider);
    9191                                this.cache = (IdenticonCache) cacheClass.newInstance();
    9292                        } catch (Exception e) {
  • apps/imagegen/imagegen/webapp/src/main/java/net/i2p/imagegen/QRServlet.java

    r6ab5b84 r0717696  
    5555                if (cacheProvider != null) {
    5656                        try {
    57                                 Class cacheClass = Class.forName(cacheProvider);
     57                                Class<?> cacheClass = Class.forName(cacheProvider);
    5858                                this.cache = (IdenticonCache) cacheClass.newInstance();
    5959                        } catch (Exception e) {
  • apps/sam/java/src/net/i2p/sam/SAMMessageSession.java

    r6ab5b84 r0717696  
    7979     * Initialize a new SAM message-based session using an existing I2PSession.
    8080     *
    81      * @param destStream Input stream containing the destination and private keys (same format as PrivateKeyFile)
    82      * @param props Properties to setup the I2P session
    8381     * @throws IOException
    8482     * @throws DataFormatException
  • apps/sam/java/src/net/i2p/sam/SAMv1Handler.java

    r6ab5b84 r0717696  
    947947     *
    948948     * @param s The string, non-null
    949      * @param s The message may be null
    950949     * @since 0.9.25
    951950     */
  • apps/sam/java/src/net/i2p/sam/SAMv3StreamSession.java

    r6ab5b84 r0717696  
    9696             * Caller MUST call start().
    9797             *
    98              * @param nick nickname of the session
     98             * @param login nickname of the session
    9999             * @throws IOException
    100100             * @throws DataFormatException
  • core/java/src/net/i2p/crypto/KeyStoreUtil.java

    r6ab5b84 r0717696  
    542542     *  @param ou e.g. console
    543543     *  @param validDays e.g. 3652 (10 years)
    544      *  @param keyAlg e.g. DSA , RSA, EC
    545      *  @param keySize e.g. 1024
    546544     *  @param keyPW the key password, must be at least 6 characters
    547545     *  @return all you need:
Note: See TracChangeset for help on using the changeset viewer.