Changeset 52e2aaa


Ignore:
Timestamp:
Mar 15, 2010 2:34:25 PM (10 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
5026cbdc
Parents:
9df87ba
Message:

javadoc cleanup after review

Files:
11 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/PluginUpdateChecker.java

    r9df87ba r52e2aaa  
    1818
    1919/**
    20  * Download and install a plugin.
     20 * Check for an updated version of a plugin.
    2121 * A plugin is a standard .sud file with a 40-byte signature,
    2222 * a 16-byte version, and a .zip file.
    23  * Unlike for router updates, we need not have the public key
    24  * for the signature in advance.
    2523 *
    26  * The zip file must have a standard directory layout, with
    27  * a plugin.config file at the top level.
    28  * The config file contains properties for the package name, version,
    29  * signing public key, and other settings.
    30  * The zip file will typically contain a webapps/ or lib/ dir,
    31  * and a webapps.config and/or clients.config file.
     24 * So we get the current version and update URL for the installed plugin,
     25 * then fetch the first 56 bytes of the URL, extract the version,
     26 * and compare.
    3227 *
    3328 * @since 0.7.12
  • apps/routerconsole/java/src/net/i2p/router/web/WebAppConfiguration.java

    r9df87ba r52e2aaa  
    1717 *
    1818 *  A sample line in webapps.config is:
    19  *     webapps.appname.path=foo.jar,$I2P/lib/bar.jar
     19 *     webapps.appname.classpath=foo.jar,$I2P/lib/bar.jar
    2020 *  Unless $I2P is specified the path will be relative to $I2P/lib for
    2121 *  webapps in the installation and appDir/plugins/appname/lib for plugins.
  • apps/routerconsole/java/src/net/i2p/router/web/WebAppStarter.java

    r9df87ba r52e2aaa  
    1616
    1717/**
    18  *  Start a webappapp classpath as specified in webapps.config.
     18 *  Add, start or stop a webapp.
     19 *  Add to the webapp classpath if specified in webapps.config.
    1920 *
    2021 *  Sadly, setting Class-Path in MANIFEST.MF doesn't work for jetty wars.
    21  *  We could look there ourselves, or look for another properties file in the war,
     22 *  See WebAppConfiguration for more information.
    2223 *  but let's just do it in webapps.config.
    2324 *
    24  *  No, wac.addClassPath() does not work.
     25 *  No, wac.addClassPath() does not work. For more info see:
    2526 *
    2627 *  http://servlets.com/archive/servlet/ReadMsg?msgId=511113&listName=jetty-support
  • core/java/src/net/i2p/crypto/TrustedUpdate.java

    r9df87ba r52e2aaa  
    405405     * @return The version string read, or an empty string if no version string
    406406     *         is present.
     407     *
     408     * @since 0.7.12
    407409     */
    408410    public static String getVersionString(InputStream inputStream) {
     
    493495     * @return <code>null</code> if the
    494496     *         data was moved, and an error <code>String</code> otherwise.
     497     *
     498     * @since 0.7.12
    495499     */
    496500    public String migrateFile(File signedFile, File outputFile) {
  • core/java/src/net/i2p/time/Timestamper.java

    r9df87ba r52e2aaa  
    253253    /**
    254254     * Notify the listeners
     255     *
     256     * @since stratum param added in 0.7.12
    255257     */
    256258    private void stampTime(long now, int stratum) {
  • history.txt

    r9df87ba r52e2aaa  
    1 2010-03-013 zzz
     12010-03-13 zzz
    22    * Partial fix for i2ptunnel nonce troubles
    33
  • router/java/src/net/i2p/data/i2np/TunnelBuildMessage.java

    r9df87ba r52e2aaa  
    2020    }
    2121
    22     /** @since 0.7.10 */
     22    /** @since 0.7.12 */
    2323    protected TunnelBuildMessage(I2PAppContext context, int records) {
    2424        super(context);
     
    3232    public void setRecord(int index, ByteArray record) { _records[index] = record; }
    3333    public ByteArray getRecord(int index) { return _records[index]; }
    34     /** @since 0.7.10 */
     34    /** @since 0.7.12 */
    3535    public int getRecordCount() { return RECORD_COUNT; }
    3636   
  • router/java/src/net/i2p/data/i2np/TunnelBuildReplyMessage.java

    r9df87ba r52e2aaa  
    2121    }
    2222
    23     /** @since 0.7.10 */
     23    /** @since 0.7.12 */
    2424    protected TunnelBuildReplyMessage(I2PAppContext context, int records) {
    2525        super(context);
     
    3333    public void setRecord(int index, ByteArray record) { _records[index] = record; }
    3434    public ByteArray getRecord(int index) { return _records[index]; }
    35     /** @since 0.7.10 */
     35    /** @since 0.7.12 */
    3636    public int getRecordCount() { return RECORD_COUNT; }
    3737   
  • router/java/src/net/i2p/router/startup/ClientAppConfig.java

    r9df87ba r52e2aaa  
    9494    /*
    9595     * Go through the properties, and return a List of ClientAppConfig structures
     96     *
     97     * @since 0.7.12
    9698     */
    9799    public static List<ClientAppConfig> getClientApps(File cfgFile) {
     
    107109    /*
    108110     * Go through the properties, and return a List of ClientAppConfig structures
     111     *
     112     * @since 0.7.12
    109113     */
    110114    private static List<ClientAppConfig> getClientApps(Properties clientApps) {
  • router/java/src/net/i2p/router/tunnel/pool/BuildExecutor.java

    r9df87ba r52e2aaa  
    507507     *  Only do this for non-fallback tunnels.
    508508     *  @return true if refused because of a duplicate key
     509     *  @since 0.7.12
    509510     */
    510511    private boolean addToBuilding(PooledTunnelCreatorConfig cfg) {
     
    522523     *
    523524     *  @return ptcc or null
     525     *  @since 0.7.12
    524526     */
    525527    PooledTunnelCreatorConfig removeFromBuilding(long id) {
  • router/java/src/net/i2p/router/tunnel/pool/BuildRequestor.java

    r9df87ba r52e2aaa  
    188188    }
    189189
     190    /** @since 0.7.12 */
    190191    private static boolean supportsVariable(RouterContext ctx, Hash h) {
    191192        RouterInfo ri = ctx.netDb().lookupRouterInfoLocally(h);
Note: See TracChangeset for help on using the changeset viewer.