This repository was archived by the owner on Feb 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/main/java/ai/deepcode/javaclient/core Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 44- fix: do not try to getAnalysis if ` upload files ` is not succeed (i.e. ` missingFiles ` is not empty after uploads)
55- fix: avoid remove operation for empty immutable List
66- fix: check file in marker for nullability before proceed
7+ - fix: internal ConcurrentModificationException
78- feat: provide unique (per project) ` shard ` to getAnalysis call
89- feat: provide ` analysisContext ` key (` getAnalysis ` request) for better tracking/logging on backend
910- chore: reshape/refactor REST API wrapper to be replaceable through constructor base DI
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ protected abstract void doBackgroundRun(
8686 private static final Map <Object , Set <Object >> mapProject2Progresses = new ConcurrentHashMap <>();
8787
8888 protected static synchronized Set <Object > getRunningProgresses (@ NotNull Object project ) {
89- return mapProject2Progresses .computeIfAbsent (project , p -> new HashSet <> ());
89+ return mapProject2Progresses .computeIfAbsent (project , p -> ConcurrentHashMap . newKeySet ());
9090 }
9191
9292 // ??? list of all running background tasks
You can’t perform that action at this time.
0 commit comments