roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r502438 - /incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/TrackbackLinkbackCommentValidator.java
Date Fri, 02 Feb 2007 01:54:35 GMT
Author: agilliland
Date: Thu Feb  1 17:54:34 2007
New Revision: 502438

URL: http://svn.apache.org/viewvc?view=rev&rev=502438
Log:
code reformatting.


Modified:
    incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/TrackbackLinkbackCommentValidator.java

Modified: incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/TrackbackLinkbackCommentValidator.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/TrackbackLinkbackCommentValidator.java?view=diff&rev=502438&r1=502437&r2=502438
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/TrackbackLinkbackCommentValidator.java
(original)
+++ incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/TrackbackLinkbackCommentValidator.java
Thu Feb  1 17:54:34 2007
@@ -27,27 +27,28 @@
 import org.apache.roller.util.URLUtilities;
 
 /**
- * Validates comment if comment's URL links back to the comment's entry, 
+ * Validates comment if comment's URL links back to the comment's entry,
  * intended for use with trackbacks only.
  */
 public class TrackbackLinkbackCommentValidator implements CommentValidator {
-    private ResourceBundle bundle = ResourceBundle.getBundle("ApplicationResources");  
-        
+    
+    private ResourceBundle bundle = ResourceBundle.getBundle("ApplicationResources");
+    
     public String getName() {
         return bundle.getString("comment.validator.trackbackLinkbackName");
     }
-
+    
     public int validate(CommentData comment, RollerMessages messages) {
         int ret = 0;
         LinkbackExtractor linkback = null;
         try {
             linkback = new LinkbackExtractor(
-                    comment.getUrl(), 
+                    comment.getUrl(),
                     URLUtilities.getWeblogEntryURL(
-                        comment.getWeblogEntry().getWebsite(), 
-                        null, 
-                        comment.getWeblogEntry().getAnchor(), 
-                        true));
+                    comment.getWeblogEntry().getWebsite(),
+                    null,
+                    comment.getWeblogEntry().getAnchor(),
+                    true));
         } catch (MalformedURLException ignored1) {
         } catch (IOException ignored2) {}
         



Mime
View raw message