Skip to content

Commit

Permalink
Removed dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
H. Marmanis committed Dec 20, 2012
1 parent c59197e commit e830bf3
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/org/yooreeka/algos/reco/collab/data/NewsData.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,23 +108,6 @@ public static BaseDataset createDataset() {
return ds;
}

// private static Item createItem(String docName) {
// int id = -1;
// for(int i = 0, n = DOC_SAMPLES.length; i < n; i++) {
// if( DOC_SAMPLES[i].equals(docName)) {
// id = i;
// break;
// }
// }
//
// if( id < 0 ) {
// throw new IllegalArgumentException("Invalid document name: '" + docName +
// "'. This document is not on the list of predefined documents.");
// }
//
// return createDocItem(id, docName);
// }

private static ContentItem createNewsItem(int docId, String docName) {
Content content = loadContent(docName);
ContentItem docItem = new ContentItem(docId, docName, content);
Expand Down

0 comments on commit e830bf3

Please sign in to comment.