Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
FreedomZZQ committed Apr 24, 2016
1 parent c794f79 commit b1ec51a
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/crawler/Crawler.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,14 @@ public void addURL(String url) {
}

/**
* Called internally to log information This basic method just writes the
* log out to the stdout.
* Called internally to log information
* This method writes the log out to the log file.
*
* @param entry
* The information to be written to the log.
* @param type the type of the operation
* @param url the url of the operation
* @param tag the tag of the operation(successful or error)
*
*/
// public void log(String entry) {
// String date = sFormat.format(new Date());
// System.out.println(USER_AGENT + " "
// + date + " "
// + entry);
// }

public void log(String type, String url, String tag){
String date = sFormat.format(new Date());
Expand Down

0 comments on commit b1ec51a

Please sign in to comment.