Hey, fuckface
Heysunk opened this issue · comments
Ey, bro, you've done goof'd
rad 317:
private int relevance(Document doc1, Document doc2) {
int diff = wrd.getRelevance(doc1).compareTo(wrd.getRelevance(doc2));
diff = asc ? diff : -diff;
if (diff > 0)
return 1;
else if (diff < 0)
return -1;
else {
return 1;
}
}
return 1???
return 1??????
return 1??????????!!!!!!
return 1?!?!?!?!?!?!??!?!?!?!?!?!?!?
fix to return 0 pls