roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r425901 - /incubator/roller/branches/roller_3.0/src/org/apache/roller/pojos/WeblogEntryData.java
Date Wed, 26 Jul 2006 23:13:42 GMT
Author: agilliland
Date: Wed Jul 26 16:13:42 2006
New Revision: 425901

URL: http://svn.apache.org/viewvc?rev=425901&view=rev
Log:
removing getCommentsPermalink() since it's not really needed.


Modified:
    incubator/roller/branches/roller_3.0/src/org/apache/roller/pojos/WeblogEntryData.java

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/pojos/WeblogEntryData.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/pojos/WeblogEntryData.java?rev=425901&r1=425900&r2=425901&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/pojos/WeblogEntryData.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/pojos/WeblogEntryData.java
Wed Jul 26 16:13:42 2006
@@ -762,7 +762,6 @@
      * @roller.wrapPojoMethod type="simple"
      */
     public String getPermaLink() {
-        // TODO: ATLAS reconcile entry.getPermaLink() with new URLs
         String lAnchor = this.getAnchor();        
         try {
             lAnchor = URLEncoder.encode(anchor, "UTF-8");
@@ -770,7 +769,7 @@
             // go with the "no encoding" version
         }        
         WebsiteData website = this.getWebsite();
-        return "/" + getWebsite().getHandle() + "/entry/" + lAnchor;        
+        return "/" + getWebsite().getHandle() + "/entry/" + lAnchor;
     }
     
     /**
@@ -781,24 +780,12 @@
     public String getCommentsLink() {
         return getPermaLink() + "#comments";
     }
+    
     /** 
      * to please XDoclet 
      * @deprecated Use commentLink() instead
      */
     public void setCommentsLink(String ignored) {}
-    
-    
-    /**
-     * Get absolute URL of comment page.
-     * @roller.wrapPojoMethod type="simple"
-     */
-    public String getCommentsPermalink() {
-        String absPath = RollerRuntimeConfig.getAbsoluteContextURL();
-        return absPath + getCommentsLink(); 
-    }
-    
-    /** to please XDoclet */
-    public void setCommentsPermalink(String ignored) {}
     
     
     /**



Mime
View raw message