maybe fix #43
This commit is contained in:
parent
8906dd0ac8
commit
52e0c59203
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ public class BugMerger {
|
||||||
Stacktrace s = iterator.next();
|
Stacktrace s = iterator.next();
|
||||||
StacktraceMatch match = entityManager.merge(new StacktraceMatch(s, stacktrace, FuzzySearch.ratio(s.getStacktrace(), stacktrace.getStacktrace())));
|
StacktraceMatch match = entityManager.merge(new StacktraceMatch(s, stacktrace, FuzzySearch.ratio(s.getStacktrace(), stacktrace.getStacktrace())));
|
||||||
if (match.getScore() >= b.getApp().getConfiguration().getMinScore()) {
|
if (match.getScore() >= b.getApp().getConfiguration().getMinScore()) {
|
||||||
|
entityManager.flush();
|
||||||
b = mergeBugs(Arrays.asList(s.getBug(), b), s.getBug().getTitle());
|
b = mergeBugs(Arrays.asList(s.getBug(), b), s.getBug().getTitle());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue