roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eli...@apache.org
Subject svn commit: r463108 - in /incubator/roller/trunk/src/org/apache/roller/ui/rendering/model: FeedModel.java PageModel.java SiteModel.java
Date Thu, 12 Oct 2006 02:05:38 GMT
Author: eliast
Date: Wed Oct 11 19:05:37 2006
New Revision: 463108

URL: http://svn.apache.org/viewvc?view=rev&rev=463108
Log:
- removed getTags() from SiteModel because PageModel take care of that and it's stateless.
- added getTags() to FeedModel because it's stateful.

Modified:
    incubator/roller/trunk/src/org/apache/roller/ui/rendering/model/FeedModel.java
    incubator/roller/trunk/src/org/apache/roller/ui/rendering/model/PageModel.java
    incubator/roller/trunk/src/org/apache/roller/ui/rendering/model/SiteModel.java

Modified: incubator/roller/trunk/src/org/apache/roller/ui/rendering/model/FeedModel.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/ui/rendering/model/FeedModel.java?view=diff&rev=463108&r1=463107&r2=463108
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/ui/rendering/model/FeedModel.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/ui/rendering/model/FeedModel.java Wed Oct
11 19:05:37 2006
@@ -186,4 +186,12 @@
         return recentComments;
     }
     
+    /**
+     * Returns the list of tags specified in the request /?tags=foo+bar
+     * @return
+     */
+    public List getTags() {
+        return feedRequest.getTags();
+    }    
+    
 }

Modified: incubator/roller/trunk/src/org/apache/roller/ui/rendering/model/PageModel.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/ui/rendering/model/PageModel.java?view=diff&rev=463108&r1=463107&r2=463108
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/ui/rendering/model/PageModel.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/ui/rendering/model/PageModel.java Wed Oct
11 19:05:37 2006
@@ -273,7 +273,7 @@
     }
     
     /**
-     * Returns the list of tags specified in the request /tags/foo+bar or /?tags=foo+bar
+     * Returns the list of tags specified in the request /tags/foo+bar
      * @return
      */
     public List getTags() {

Modified: incubator/roller/trunk/src/org/apache/roller/ui/rendering/model/SiteModel.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/ui/rendering/model/SiteModel.java?view=diff&rev=463108&r1=463107&r2=463108
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/ui/rendering/model/SiteModel.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/ui/rendering/model/SiteModel.java Wed Oct
11 19:05:37 2006
@@ -476,15 +476,7 @@
         }
         return results;
     }
-    
-    /**
-     * Returns the list of tags specified in the request /tags/foo+bar or /?tags=foo+bar
-     * @return
-     */
-    public List getTags() {
-        return tags;
-    }
-    
+        
     /**
      * 
      * @param sinceDays



Mime
View raw message