roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r368037 - /incubator/roller/trunk/src/org/roller/business/PlanetManagerImpl.java
Date Wed, 11 Jan 2006 15:19:30 GMT
Author: snoopdave
Date: Wed Jan 11 07:19:27 2006
New Revision: 368037

URL: http://svn.apache.org/viewcvs?rev=368037&view=rev
Log:
Moving property access to Roller-specific constructor so that planet-tool can work

Modified:
    incubator/roller/trunk/src/org/roller/business/PlanetManagerImpl.java

Modified: incubator/roller/trunk/src/org/roller/business/PlanetManagerImpl.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/business/PlanetManagerImpl.java?rev=368037&r1=368036&r2=368037&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/business/PlanetManagerImpl.java (original)
+++ incubator/roller/trunk/src/org/roller/business/PlanetManagerImpl.java Wed Jan 11 07:19:27
2006
@@ -33,7 +33,8 @@
  */
 public abstract class PlanetManagerImpl implements PlanetManager {
     protected Roller roller = null;
-    protected PersistenceStrategy strategy;
+    protected PersistenceStrategy strategy = null;
+    protected String localURL = null;
     
     private static Log logger =
             LogFactory.getFactory().getInstance(PlanetManagerImpl.class);
@@ -44,6 +45,7 @@
     public PlanetManagerImpl(PersistenceStrategy strategy, Roller roller) {
         this.strategy = strategy;
         this.roller = roller;
+        localURL = RollerRuntimeConfig.getProperty("site.absoluteurl");
     }
     
     public void refreshEntries() throws RollerException {
@@ -71,9 +73,7 @@
         //FeedFetcher feedFetcher = new HttpClientFeedFetcher(feedInfoCache);
         feedFetcher.setUsingDeltaEncoding(false);
         feedFetcher.setUserAgent("RollerPlanetAggregator");
-        
-        String localURL = RollerRuntimeConfig.getProperty("site.absoluteurl");
-        
+                
         // Loop through all subscriptions in the system
         Iterator subs = getAllSubscriptions();
         while (subs.hasNext()) {



Mime
View raw message