Skip to content

Commit

Permalink
Added a comment to clarify what addUrlToList() method does
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Oct 8, 2019
1 parent ae8e102 commit a178bb6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ public class KnownUrlListUtils {
private KnownUrlListUtils() {
}

// The method adds a new url to the list if it doesn't already exist. The list is intended to
// keep up to 5 elements so the oldest one is removed if needed.
public static void addUrlToList(String url) {
List<String> urlList = getUrlList();

Expand Down

0 comments on commit a178bb6

Please sign in to comment.