-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZDF: optimize runtime
- Loading branch information
Showing
53 changed files
with
1,456 additions
and
1,281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 36 additions & 37 deletions
73
...erver/crawler/sender/orf/TopicUrlDTO.java → ...rver/crawler/sender/base/TopicUrlDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,36 @@ | ||
package mServer.crawler.sender.orf; | ||
|
||
import mServer.crawler.sender.base.CrawlerUrlDTO; | ||
import java.util.Objects; | ||
|
||
public class TopicUrlDTO extends CrawlerUrlDTO { | ||
|
||
private final String topic; | ||
|
||
public TopicUrlDTO(String aTopic, String aUrl) { | ||
super(aUrl); | ||
topic = aTopic; | ||
} | ||
|
||
public String getTopic() { | ||
return topic; | ||
} | ||
|
||
@Override | ||
public boolean equals(final Object obj) { | ||
if (obj == null || getClass() != obj.getClass()) { | ||
return false; | ||
} | ||
if (super.equals(obj)) { | ||
return getTopic().equals(((TopicUrlDTO) obj).getTopic()); | ||
} | ||
|
||
return false; | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
int hash = 3; | ||
hash = 31 * hash + Objects.hashCode(this.topic) + super.hashCode(); | ||
return hash; | ||
} | ||
} | ||
package mServer.crawler.sender.base; | ||
|
||
import java.util.Objects; | ||
|
||
public class TopicUrlDTO extends CrawlerUrlDTO { | ||
|
||
private final String topic; | ||
|
||
public TopicUrlDTO(String aTopic, String aUrl) { | ||
super(aUrl); | ||
topic = aTopic; | ||
} | ||
|
||
public String getTopic() { | ||
return topic; | ||
} | ||
|
||
@Override | ||
public boolean equals(final Object obj) { | ||
if (obj == null || getClass() != obj.getClass()) { | ||
return false; | ||
} | ||
if (super.equals(obj)) { | ||
return getTopic().equals(((TopicUrlDTO) obj).getTopic()); | ||
} | ||
|
||
return false; | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
int hash = 3; | ||
hash = 31 * hash + Objects.hashCode(this.topic) + super.hashCode(); | ||
return hash; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
src/main/java/mServer/crawler/sender/orf/OrfConstants.java
This file was deleted.
Oops, something went wrong.
104 changes: 0 additions & 104 deletions
104
src/main/java/mServer/crawler/sender/orf/OrfCrawler.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.