mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[updater] finds a nearest candidate for move, fixed again (IDEA-CR-19029)
This commit is contained in:
@@ -112,9 +112,7 @@ public class DiffCalculator {
|
||||
}
|
||||
}
|
||||
|
||||
if (best.isEmpty()) throw new AssertionError("Failed to find a candidate for '" + path + "' in " + paths);
|
||||
|
||||
return best;
|
||||
return !best.isEmpty() ? best : null;
|
||||
}
|
||||
|
||||
public static Map<Long, List<String>> groupFilesByContent(Map<String, Long> map) {
|
||||
|
||||
Reference in New Issue
Block a user