Changeset 435759c


Ignore:
Timestamp:
Apr 10, 2004 10:31:03 AM (17 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
604af82
Parents:
847f094
git-author:
shendaras <shendaras> (04/10/04 10:31:03)
git-committer:
zzz <zzz@…> (04/10/04 10:31:03)
Message:

indent on column, update javadoc
(shendaras)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/heartbeat/java/src/net/i2p/heartbeat/ClientConfig.java

    r847f094 r435759c  
    9090     * @param peer who we will test against
    9191     * @param us who we are
     92     * @param statFile the file to save stats to
    9293     * @param duration how many minutes to keep events for
    9394     * @param statFreq how often to write out stats
     
    99100     */
    100101    public ClientConfig(Destination peer, Destination us, String statFile, int duration, int statFreq, int sendFreq,
    101             int sendSize, int numHops, String comment, int averagePeriods[]) {
     102                        int sendSize, int numHops, String comment, int averagePeriods[]) {
    102103        _peer = peer;
    103104        _us = us;
     
    322323
    323324        if ((peerVal == null) || (statFileVal == null) || (statDurationVal == null) || (statFrequencyVal == null)
    324                 || (sendFrequencyVal == null) || (sendSizeVal == null)) {
     325            || (sendFrequencyVal == null) || (sendSizeVal == null)) {
    325326            if (_log.shouldLog(Log.DEBUG)) {
    326327                _log.debug("Peer number " + peerNum + " does not exist");
     
    338339                if (_log.shouldLog(Log.WARN)) {
    339340                    _log.warn("Invalid client config: duration [" + statDurationVal + "] stat frequency ["
    340                             + statFrequencyVal + "] send frequency [" + sendFrequencyVal + "] send size ["
    341                             + sendSizeVal + "]");
     341                              + statFrequencyVal + "] send frequency [" + sendFrequencyVal + "] send size ["
     342                              + sendSizeVal + "]");
    342343                }
    343344                return false;
     
    403404    public boolean store(Properties clientConfig, int peerNum) {
    404405        if ((_peer == null) || (_sendFrequency <= 0) || (_sendSize <= 0) || (_statDuration <= 0)
    405                 || (_statFrequency <= 0) || (_statFile == null)) { return false; }
     406            || (_statFrequency <= 0) || (_statFile == null)) { return false; }
    406407
    407408        String comment = _comment;
Note: See TracChangeset for help on using the changeset viewer.