mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
npe fix
This commit is contained in:
parent
7754a1263b
commit
fc3ff92c69
|
@ -163,6 +163,7 @@ public class OrderedScoreMap<E> extends AbstractScoreMap<E> implements ScoreMap<
|
|||
score = this.map.get(obj);
|
||||
if (score == null) {
|
||||
this.map.put(obj, new AtomicInteger(incrementScore));
|
||||
return;
|
||||
}
|
||||
}
|
||||
score.addAndGet(incrementScore);
|
||||
|
|
Loading…
Reference in New Issue
Block a user