Skip to content

Commit

Permalink
fix for a npe during search
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6528 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Dec 15, 2009
1 parent 3724543 commit d548bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/de/anomic/search/ReferenceOrder.java
Expand Up @@ -182,6 +182,6 @@ public long cardinal(final WordReferenceVars t) {

private static final String patchUK(String l) {
// this is to patch a bad language name setting that was used in 0.60 and before
if (l.equals("uk")) return "en"; else return l;
if (l == null || l.equals("uk")) return "en"; else return l;
}
}

0 comments on commit d548bd4

Please sign in to comment.