Commit 358a43eb authored by unknown's avatar unknown
Browse files

Added synchronised keyword to 'getTargetFile' to workaround IllegalMonitorException.

parent c5f2c3b3
Pipeline #171505 passed with stages
in 48 seconds
......@@ -53,7 +53,7 @@ public enum DownloadFileResponseData {
}
@Override
public File getTargetFile(String query, String answer,
public synchronized File getTargetFile(String query, String answer,
String targetFileName) {
// Uses "sourceFile" to create another "targetFile" at the given "targetFilePath"
File mdFile = DownloadFileResponseData.MD.getTargetFile(query, answer, targetFileName);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment