incubator-droids-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jav...@apache.org
Subject svn commit: r985463 - /incubator/droids/trunk/droids-core/src/main/java/org/apache/droids/LinkTask.java
Date Sat, 14 Aug 2010 11:21:40 GMT
Author: javier
Date: Sat Aug 14 11:21:40 2010
New Revision: 985463

URL: http://svn.apache.org/viewvc?rev=985463&view=rev
Log:
Remove duplicate function. DROIDS-91

Modified:
    incubator/droids/trunk/droids-core/src/main/java/org/apache/droids/LinkTask.java

Modified: incubator/droids/trunk/droids-core/src/main/java/org/apache/droids/LinkTask.java
URL: http://svn.apache.org/viewvc/incubator/droids/trunk/droids-core/src/main/java/org/apache/droids/LinkTask.java?rev=985463&r1=985462&r2=985463&view=diff
==============================================================================
--- incubator/droids/trunk/droids-core/src/main/java/org/apache/droids/LinkTask.java (original)
+++ incubator/droids/trunk/droids-core/src/main/java/org/apache/droids/LinkTask.java Sat Aug
14 11:21:40 2010
@@ -23,31 +23,28 @@ import java.io.Serializable;
 
 import org.apache.droids.api.Link;
 
-public class LinkTask implements Link, Serializable
-{
+public class LinkTask implements Link, Serializable {
   private static final long serialVersionUID = -44808094386453088L;
 
   private Date started;
   private final int depth;
   private final URI uri;
   private final Link from;
-  
+
   private Date lastModifedDate;
   private Collection<URI> linksTo;
   private String anchorText;
   private int weight;
   private boolean aborted = false;
 
-  public LinkTask( Link from, URI uri, int depth )
-  {
+  public LinkTask(Link from, URI uri, int depth) {
     this.from = from;
     this.uri = uri;
     this.depth = depth;
     this.started = new Date();
   }
 
-  public LinkTask( Link from, URI uri, int depth, int weight )
-  {
+  public LinkTask(Link from, URI uri, int depth, int weight) {
     this.from = from;
     this.uri = uri;
     this.depth = depth;
@@ -75,15 +72,11 @@ public class LinkTask implements Link, S
     return from;
   }
 
-  public Date getLastModifiedDate() {
-    return lastModifedDate;
-  }
-
   public Collection<URI> getTo() {
     return linksTo;
   }
 
-  public Date getLastModifedDate() {
+  public Date getLastModifiedDate() {
     return lastModifedDate;
   }
 
@@ -124,4 +117,5 @@ public class LinkTask implements Link, S
   public boolean isAborted() {
     return aborted;
   }
+
 }
\ No newline at end of file



Mime
View raw message