public void notifyEndOfScanDetected() {
String userLogFileName = ModelPreferences.getInstance().getUserLogFile();
if (userLogFileName != null && !userLogFileName.trim().isEmpty()) {
IConfig<?> lastStartScanImpl = AutoCopier.toImpl(lastStartScan, IConfig.class);
ContextImpl context = new ContextImpl();
context.setScanServerName(ModelPreferences.getInstance().getScanServer());
context.setUserLogFile(userLogFileName);
context.setMaxLineNumber(ModelPreferences.getInstance().getMaxLineNumber());
try {
ScanApi.endLogScan(lastStartScanImpl, context);
}
catch (IOException ioe) {