You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2007/02/02 02:54:35 UTC

svn commit: r502438 - /incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/TrackbackLinkbackCommentValidator.java

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) {}