Changeset e103f33


Ignore:
Timestamp:
Oct 12, 2008 5:07:21 PM (12 years ago)
Author:
sponge <sponge@…>
Branches:
master
Children:
c4030f8
Parents:
1c6b78a
Message:

Addressbook javadoc fixes
Addressbook now JDK5
build.xml fixed to remove annoying javadoc warnings.

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • apps/addressbook/java/src/addressbook/AddressBook.java

    r1c6b78a re103f33  
    5858    }
    5959
    60     /**
     60    /*
    6161     * Construct an AddressBook from the contents of the file at url. If the
    6262     * remote file cannot be read, construct an empty AddressBook
     
    8282    }
    8383*/
     84    static final long MAX_SUB_SIZE = 3 * 1024 * 1024l; //about 5,000 hosts
    8485    /**
    8586     * Construct an AddressBook from the Subscription subscription. If the
     
    9091     * @param subscription
    9192     *            A Subscription instance pointing at a remote address book.
    92      */
    93     static final long MAX_SUB_SIZE = 3 * 1024 * 1024l; //about 5,000 hosts
     93     * @param proxyHost hostname of proxy
     94     * @param proxyPort port number of proxy
     95     */
    9496    public AddressBook(Subscription subscription, String proxyHost, int proxyPort) {
    9597        this.location = subscription.getLocation();
     
    153155     * @return A String representing the contents of the AddressBook.
    154156     */
     157    @Override
    155158    public String toString() {
    156159        return this.addresses.toString();
     
    196199     * @param other
    197200     *            An AddressBook to merge with.
     201     * @param overwrite True to overwrite
    198202     * @param log
    199203     *            The log to write messages about new addresses or conflicts to.
  • apps/addressbook/java/src/addressbook/ConfigParser.java

    r1c6b78a re103f33  
    214214     * @param file
    215215     *            A File to attempt to parse.
    216      * @param string
    217      *            A List to use as the default, if file fails.
     216     * @param list list of files to parse
    218217     * @return A List consisting of one element for each line in file, or if
    219218     *         file cannot be read, list.
  • apps/addressbook/java/src/addressbook/Daemon.java

    r1c6b78a re103f33  
    161161        // wait
    162162        try {
    163             Thread.currentThread().sleep(5*60*1000);
     163            Thread.sleep(5*60*1000);
     164            // Static method, and redundent Thread.currentThread().sleep(5*60*1000);
    164165        } catch (InterruptedException ie) {}
    165166       
  • apps/addressbook/java/src/addressbook/DaemonThread.java

    r1c6b78a re103f33  
    4444     * @see java.lang.Runnable#run()
    4545     */
     46    @Override
    4647    public void run() {
    4748        //try {
  • apps/addressbook/java/src/addressbook/Servlet.java

    r1c6b78a re103f33  
    4545     * @see javax.servlet.Servlet#init(javax.servlet.ServletConfig)
    4646     */
     47    @Override
    4748    public void init(ServletConfig config) {
    4849        try {
  • apps/addressbook/java/src/addressbook/SubscriptionIterator.java

    r1c6b78a re103f33  
    4242     * @param subscriptions
    4343     *            List of Subscription objects that represent address books.
     44     * @param proxyHost proxy hostname
     45     * @param proxyPort proxt port number
    4446     */
    4547    public SubscriptionIterator(List subscriptions, String proxyHost, int proxyPort) {
  • apps/addressbook/java/src/addressbook/SubscriptionList.java

    r1c6b78a re103f33  
    6161     *            A file containg the last-modified headers used for conditional
    6262     *            GET. The file is in the format "url=leastmodified".
     63     * @param defaultSubs default subscription file
     64     * @param proxyHost proxy hostname
     65     * @param proxyPort proxy port number
    6366     */
    6467    public SubscriptionList(File locationsFile, File etagsFile,
  • build.xml

    r1c6b78a re103f33  
    150150            <classpath>
    151151                <pathelement location="apps/jetty/jettylib/org.mortbay.jetty.jar" />
     152                <pathelement location="apps/jetty/jettylib/javax.servlet.jar" />
    152153                <pathelement location="apps/systray/java/lib/systray4j.jar" />
     154                <pathelement location="apps/jrobin/jrobin-1.4.0.jar" />
    153155                <pathelement location="installer/lib/wrapper/win32/wrapper.jar" />
    154                 <pathelement location="core/lib/junit.jar" />
     156                <pathelement location="core/lib/junit.jar" />               
    155157            </classpath>
    156158        </javadoc>
Note: See TracChangeset for help on using the changeset viewer.