//# 0 errors, 143 messages
//#
/*
    //#RefreshRollerPlanetTask.java:1:1: class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
 * Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  The ASF licenses this file to You
 * under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.  For additional information regarding
 * copyright in this work, please see the NOTICE file in the top level
 * directory of this distribution.
 */

package org.apache.roller.weblogger.planet.tasks;

import java.util.Date;
import java.util.Properties;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.roller.planet.business.GuicePlanetProvider;
import org.apache.roller.planet.business.startup.PlanetStartup;
import org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing;
import org.apache.roller.planet.business.PlanetFactory;
import org.apache.roller.planet.business.PlanetProvider;
import org.apache.roller.planet.business.updater.FeedUpdater;
import org.apache.roller.planet.business.updater.SingleThreadedFeedUpdater;
import org.apache.roller.weblogger.WebloggerException;
import org.apache.roller.weblogger.business.WebloggerFactory;
import org.apache.roller.weblogger.config.WebloggerConfig;


/**
 * Updates Planet aggregator's database of feed entries.
 * <pre>
 * - Designed to be run outside of Roller via the TaskRunner class
 * - Calls Planet business layer to refresh entries
 * </pre>
 */
public class RefreshRollerPlanetTask extends RollerTaskWithLeasing {
    //#RefreshRollerPlanetTask.java:44: method: void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask()
    //#RefreshRollerPlanetTask.java:44: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask()
    //#    unanalyzed callee: void org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing()
    //#input(void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask()): this
    //#output(void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask()): this.clientId
    //#output(void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask()): this.interval
    //#output(void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask()): this.leaseTime
    //#output(void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask()): this.startTimeDesc
    //#post(void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask()): this.clientId == &"unspecifiedClientId"
    //#post(void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask()): this.interval == 60
    //#post(void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask()): this.leaseTime == 10
    //#post(void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask()): this.startTimeDesc == &"immediate"
    
    private static Log log = LogFactory.getLog(RefreshRollerPlanetTask.class);
    //#RefreshRollerPlanetTask.java:46: method: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init
    //#RefreshRollerPlanetTask.java:46: Warning: method not available
    //#    -- call on Log org.apache.commons.logging.LogFactory:getLog(Class)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init
    //#    unanalyzed callee: Log org.apache.commons.logging.LogFactory:getLog(Class)
    //#output(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Descendant_Table[org/apache/roller/weblogger/planet/tasks/RefreshRollerPlanetTask]
    //#output(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Dispatch_Table.getClientId()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Dispatch_Table.getInterval()I
    //#output(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Dispatch_Table.getLeaseTime()I
    //#output(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Dispatch_Table.getName()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Dispatch_Table.getStartTime(Ljava/util/Date;)Ljava/util/Date;
    //#output(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Dispatch_Table.getStartTimeDesc()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Dispatch_Table.init()V
    //#output(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Dispatch_Table.runTask()V
    //#output(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): log
    //#post(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Descendant_Table[org/apache/roller/weblogger/planet/tasks/RefreshRollerPlanetTask] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Dispatch_Table.getClientId()Ljava/lang/String; == &getClientId
    //#post(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Dispatch_Table.getInterval()I == &getInterval
    //#post(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Dispatch_Table.getLeaseTime()I == &getLeaseTime
    //#post(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Dispatch_Table.getName()Ljava/lang/String; == &getName
    //#post(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Dispatch_Table.getStartTime(Ljava/util/Date;)Ljava/util/Date; == &getStartTime
    //#post(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Dispatch_Table.getStartTimeDesc()Ljava/lang/String; == &getStartTimeDesc
    //#post(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Dispatch_Table.init()V == &init
    //#post(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): __Dispatch_Table.runTask()V == &runTask
    //#post(org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init): init'ed(log)
    //#RefreshRollerPlanetTask.java:46: end of method: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask__static_init
    
    // a unique id for this specific task instance
    // this is meant to be unique for each client in a clustered environment
    private String clientId = "unspecifiedClientId";
    
    // a String description of when to start this task
    private String startTimeDesc = "immediate";
    
    // interval at which the task is run, default is 60 minutes
    private int interval = 60;
    
    // lease time given to task, default is 10 minutes
    private int leaseTime = 10;
    //#RefreshRollerPlanetTask.java:59: end of method: void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask()
    
    
    public String getName() {
        return "RefreshRollerPlanetTask";
    //#RefreshRollerPlanetTask.java:63: method: String org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.getName()
    //#output(String getName()): return_value
    //#post(String getName()): return_value == &"RefreshRollerPlanetTask"
    //#RefreshRollerPlanetTask.java:63: end of method: String org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.getName()
    }
    
    public String getClientId() {
        return clientId;
    //#RefreshRollerPlanetTask.java:67: method: String org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.getClientId()
    //#input(String getClientId()): this
    //#input(String getClientId()): this.clientId
    //#output(String getClientId()): return_value
    //#pre[2] (String getClientId()): init'ed(this.clientId)
    //#post(String getClientId()): return_value == this.clientId
    //#post(String getClientId()): init'ed(return_value)
    //#RefreshRollerPlanetTask.java:67: end of method: String org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.getClientId()
    }
    
    public Date getStartTime(Date currentTime) {
        return getAdjustedTime(currentTime, startTimeDesc);
    //#RefreshRollerPlanetTask.java:71: method: Date org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.getStartTime(Date)
    //#RefreshRollerPlanetTask.java:71: Warning: method not available
    //#    -- call on Date org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask:getAdjustedTime(Date, String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: Date getStartTime(Date)
    //#    unanalyzed callee: Date org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask:getAdjustedTime(Date, String)
    //#input(Date getStartTime(Date)): currentTime
    //#input(Date getStartTime(Date)): this
    //#input(Date getStartTime(Date)): this.startTimeDesc
    //#output(Date getStartTime(Date)): return_value
    //#pre[3] (Date getStartTime(Date)): init'ed(this.startTimeDesc)
    //#post(Date getStartTime(Date)): init'ed(return_value)
    //#RefreshRollerPlanetTask.java:71: end of method: Date org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.getStartTime(Date)
    }
    
    public String getStartTimeDesc() {
        return startTimeDesc;
    //#RefreshRollerPlanetTask.java:75: method: String org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.getStartTimeDesc()
    //#input(String getStartTimeDesc()): this
    //#input(String getStartTimeDesc()): this.startTimeDesc
    //#output(String getStartTimeDesc()): return_value
    //#pre[2] (String getStartTimeDesc()): init'ed(this.startTimeDesc)
    //#post(String getStartTimeDesc()): return_value == this.startTimeDesc
    //#post(String getStartTimeDesc()): init'ed(return_value)
    //#RefreshRollerPlanetTask.java:75: end of method: String org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.getStartTimeDesc()
    }
    
    public int getInterval() {
        return this.interval;
    //#RefreshRollerPlanetTask.java:79: method: int org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.getInterval()
    //#input(int getInterval()): this
    //#input(int getInterval()): this.interval
    //#output(int getInterval()): return_value
    //#pre[2] (int getInterval()): init'ed(this.interval)
    //#post(int getInterval()): return_value == this.interval
    //#post(int getInterval()): init'ed(return_value)
    //#RefreshRollerPlanetTask.java:79: end of method: int org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.getInterval()
    }
    
    public int getLeaseTime() {
        return this.leaseTime;
    //#RefreshRollerPlanetTask.java:83: method: int org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.getLeaseTime()
    //#input(int getLeaseTime()): this
    //#input(int getLeaseTime()): this.leaseTime
    //#output(int getLeaseTime()): return_value
    //#pre[2] (int getLeaseTime()): init'ed(this.leaseTime)
    //#post(int getLeaseTime()): return_value == this.leaseTime
    //#post(int getLeaseTime()): init'ed(return_value)
    //#RefreshRollerPlanetTask.java:83: end of method: int org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.getLeaseTime()
    }
    
    
    @Override
    public void init() throws WebloggerException {
        
        // get relevant props
        Properties props = this.getTaskProperties();
    //#RefreshRollerPlanetTask.java:91: method: void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.init()
    //#RefreshRollerPlanetTask.java:91: Warning: method not available
    //#    -- call on Properties org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask:getTaskProperties()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void init()
    //#    unanalyzed callee: Properties org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask:getTaskProperties()
    //#input(void init()): "Invalid interval: "._tainted
    //#input(void init()): "Invalid leaseTime: "._tainted
    //#input(void init()): log
    //#input(void init()): this
    //#output(void init()): this.clientId
    //#output(void init()): this.interval
    //#output(void init()): this.leaseTime
    //#output(void init()): this.startTimeDesc
    //#pre[1] (void init()): (soft) log != null
    //#presumption(void init()): org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask:getTaskProperties(...)@91 != null
    //#post(void init()): possibly_updated(this.clientId)
    //#post(void init()): possibly_updated(this.interval)
    //#post(void init()): possibly_updated(this.leaseTime)
    //#post(void init()): possibly_updated(this.startTimeDesc)
    //#test_vector(void init()): java.util.Properties:getProperty(...)@100: Addr_Set{null}, Inverse{null}
    //#test_vector(void init()): java.util.Properties:getProperty(...)@106: Addr_Set{null}, Inverse{null}
    //#test_vector(void init()): java.util.Properties:getProperty(...)@116: Addr_Set{null}, Inverse{null}
    //#test_vector(void init()): java.util.Properties:getProperty(...)@94: Addr_Set{null}, Inverse{null}
        
        // extract clientId
        String client = props.getProperty("clientId");
        if(client != null) {
            this.clientId = client;
        }
        
        // extract start time
        String startTimeStr = props.getProperty("startTime");
        if(startTimeStr != null) {
            this.startTimeDesc = startTimeStr;
        }
        
        // extract interval
        String intervalStr = props.getProperty("interval");
        if(intervalStr != null) {
            try {
                this.interval = Integer.parseInt(intervalStr);
            } catch (NumberFormatException ex) {
                log.warn("Invalid interval: "+intervalStr);
    //#RefreshRollerPlanetTask.java:111: Warning: method not available
    //#    -- call on void org.apache.commons.logging.Log:warn(Object)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void init()
    //#    unanalyzed callee: void org.apache.commons.logging.Log:warn(Object)
            }
        }
        
        // extract lease time
        String leaseTimeStr = props.getProperty("leaseTime");
        if(leaseTimeStr != null) {
            try {
                this.leaseTime = Integer.parseInt(leaseTimeStr);
            } catch (NumberFormatException ex) {
                log.warn("Invalid leaseTime: "+leaseTimeStr);
    //#RefreshRollerPlanetTask.java:121: Warning: method not available
    //#    -- call on void org.apache.commons.logging.Log:warn(Object)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void init()
    //#    unanalyzed callee: void org.apache.commons.logging.Log:warn(Object)
            }
        }
    }
    //#RefreshRollerPlanetTask.java:124: end of method: void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.init()
    
    
    public void runTask() {
        try {
            log.info("Refreshing Planet subscriptions");
    //#RefreshRollerPlanetTask.java:129: method: void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.runTask()
    //#RefreshRollerPlanetTask.java:129: Warning: method not available
    //#    -- call on void org.apache.commons.logging.Log:info(Object)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void runTask()
    //#    unanalyzed callee: void org.apache.commons.logging.Log:info(Object)
    //#input(void runTask()): log
    //#pre[1] (void runTask()): log != null
    //#presumption(void runTask()): org.apache.roller.planet.business.PlanetFactory:getPlanet(...)@139 != null
    //#presumption(void runTask()): org.apache.roller.planet.business.PlanetFactory:getPlanet(...)@139 != null
    //#presumption(void runTask()): org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger(...)@138 != null
    //#presumption(void runTask()): org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger(...)@138 != null
            
            FeedUpdater updater = new SingleThreadedFeedUpdater();
    //#RefreshRollerPlanetTask.java:131: Warning: method not available
    //#    -- call on void org.apache.roller.planet.business.updater.SingleThreadedFeedUpdater()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void runTask()
    //#    unanalyzed callee: void org.apache.roller.planet.business.updater.SingleThreadedFeedUpdater()
            updater.updateSubscriptions();
    //#RefreshRollerPlanetTask.java:132: Warning: method not available
    //#    -- call on void org.apache.roller.planet.business.updater.FeedUpdater:updateSubscriptions()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void runTask()
    //#    unanalyzed callee: void org.apache.roller.planet.business.updater.FeedUpdater:updateSubscriptions()
            
        } catch (Throwable t) {
            log.error("ERROR refreshing planet", t);
    //#RefreshRollerPlanetTask.java:135: Warning: method not available
    //#    -- call on void org.apache.commons.logging.Log:error(Object, Throwable)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void runTask()
    //#    unanalyzed callee: void org.apache.commons.logging.Log:error(Object, Throwable)
        } finally {
            // always release
            WebloggerFactory.getWeblogger().release();
    //#RefreshRollerPlanetTask.java:138: Warning: method not available
    //#    -- call on Weblogger org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void runTask()
    //#    unanalyzed callee: Weblogger org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger()
    //#RefreshRollerPlanetTask.java:138: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.business.Weblogger:release()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void runTask()
    //#    unanalyzed callee: void org.apache.roller.weblogger.business.Weblogger:release()
            PlanetFactory.getPlanet().release();
    //#RefreshRollerPlanetTask.java:139: Warning: method not available
    //#    -- call on Planet org.apache.roller.planet.business.PlanetFactory:getPlanet()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void runTask()
    //#    unanalyzed callee: Planet org.apache.roller.planet.business.PlanetFactory:getPlanet()
    //#RefreshRollerPlanetTask.java:139: Warning: method not available
    //#    -- call on void org.apache.roller.planet.business.Planet:release()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void runTask()
    //#    unanalyzed callee: void org.apache.roller.planet.business.Planet:release()
        }
    }
    //#RefreshRollerPlanetTask.java:141: end of method: void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.runTask()
    
    
    public static void main(String[] args) throws Exception {
        
        // before we can do anything we need to bootstrap the planet backend
        PlanetStartup.prepare();
    //#RefreshRollerPlanetTask.java:147: method: void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.main(String[])
    //#RefreshRollerPlanetTask.java:147: Warning: method not available
    //#    -- call on void org.apache.roller.planet.business.startup.PlanetStartup:prepare()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void main(String[])
    //#    unanalyzed callee: void org.apache.roller.planet.business.startup.PlanetStartup:prepare()
    //#input(void main(String[])): "Invalid interval: "._tainted
    //#input(void main(String[])): "Invalid leaseTime: "._tainted
    //#input(void main(String[])): __Descendant_Table[org/apache/roller/weblogger/planet/tasks/RefreshRollerPlanetTask]
    //#input(void main(String[])): __Dispatch_Table.init()V
    //#input(void main(String[])): log
    //#pre[1] (void main(String[])): (soft) log != null
    //#unanalyzed(void main(String[])): Effects-of-calling:org.apache.roller.weblogger.business.runnable.RollerTaskWithLeasing
    //#unanalyzed(void main(String[])): Effects-of-calling:org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask:getTaskProperties
    //#unanalyzed(void main(String[])): Effects-of-calling:java.util.Properties:getProperty
    //#unanalyzed(void main(String[])): Effects-of-calling:java.lang.Integer:parseInt
    //#unanalyzed(void main(String[])): Effects-of-calling:java.lang.Throwable:__curr_excep_obj
    //#unanalyzed(void main(String[])): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(void main(String[])): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(void main(String[])): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(void main(String[])): Effects-of-calling:org.apache.commons.logging.Log:warn
        
        // we need to use our own planet provider for integration
        String guiceModule = WebloggerConfig.getProperty("planet.aggregator.guice.module");
    //#RefreshRollerPlanetTask.java:150: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.config.WebloggerConfig:getProperty(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void main(String[])
    //#    unanalyzed callee: String org.apache.roller.weblogger.config.WebloggerConfig:getProperty(String)
        PlanetProvider provider = new GuicePlanetProvider(guiceModule);
    //#RefreshRollerPlanetTask.java:151: Warning: method not available
    //#    -- call on void org.apache.roller.planet.business.GuicePlanetProvider(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void main(String[])
    //#    unanalyzed callee: void org.apache.roller.planet.business.GuicePlanetProvider(String)
        PlanetFactory.bootstrap(provider);
    //#RefreshRollerPlanetTask.java:152: Warning: method not available
    //#    -- call on void org.apache.roller.planet.business.PlanetFactory:bootstrap(PlanetProvider)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void main(String[])
    //#    unanalyzed callee: void org.apache.roller.planet.business.PlanetFactory:bootstrap(PlanetProvider)
                        
        RefreshRollerPlanetTask task = new RefreshRollerPlanetTask();
        task.init();
        task.run();
    //#RefreshRollerPlanetTask.java:156: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask:run()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
    //#    method: void main(String[])
    //#    unanalyzed callee: void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask:run()
    }
    //#RefreshRollerPlanetTask.java:157: end of method: void org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask.main(String[])
    
}
    //#RefreshRollerPlanetTask.java:: end of class: org.apache.roller.weblogger.planet.tasks.RefreshRollerPlanetTask
