mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-18 10:37:43 +00:00
occured --> occurred
This commit is contained in:
parent
1b7d7052ee
commit
ae8c1121a4
@ -170,7 +170,7 @@ class AddImageTask implements Runnable {
|
|||||||
try {
|
try {
|
||||||
imageId = addImageProcess.commit();
|
imageId = addImageProcess.commit();
|
||||||
} catch (TskCoreException e) {
|
} catch (TskCoreException e) {
|
||||||
logger.log(Level.WARNING, "Errors occured while committing the image", e); //NON-NLS
|
logger.log(Level.WARNING, "Errors occurred while committing the image", e); //NON-NLS
|
||||||
errorList.add(e.getMessage());
|
errorList.add(e.getMessage());
|
||||||
} finally {
|
} finally {
|
||||||
if (imageId != 0) {
|
if (imageId != 0) {
|
||||||
@ -208,7 +208,7 @@ class AddImageTask implements Runnable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!errorList.isEmpty()) {
|
if (!errorList.isEmpty()) {
|
||||||
logger.log(Level.INFO, "There were errors that occured in add image process"); //NON-NLS
|
logger.log(Level.INFO, "There were errors that occurred in add image process"); //NON-NLS
|
||||||
}
|
}
|
||||||
|
|
||||||
// When everything happens without an error:
|
// When everything happens without an error:
|
||||||
|
@ -107,11 +107,11 @@ class AddLocalFilesTask implements Runnable {
|
|||||||
private void postProcess() {
|
private void postProcess() {
|
||||||
|
|
||||||
if (cancelRequested() || hasCritError) {
|
if (cancelRequested() || hasCritError) {
|
||||||
logger.log(Level.WARNING, "Handling errors or interruption that occured in logical files process"); //NON-NLS
|
logger.log(Level.WARNING, "Handling errors or interruption that occurred in logical files process"); //NON-NLS
|
||||||
}
|
}
|
||||||
if (!errorList.isEmpty()) {
|
if (!errorList.isEmpty()) {
|
||||||
//data error (non-critical)
|
//data error (non-critical)
|
||||||
logger.log(Level.WARNING, "Handling non-critical errors that occured in logical files process"); //NON-NLS
|
logger.log(Level.WARNING, "Handling non-critical errors that occurred in logical files process"); //NON-NLS
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(cancelRequested() || hasCritError)) {
|
if (!(cancelRequested() || hasCritError)) {
|
||||||
|
@ -46,7 +46,7 @@ import org.sleuthkit.autopsy.keywordsearchservice.KeywordSearchServiceException;
|
|||||||
@ServiceProvider(service = KeywordSearchService.class)
|
@ServiceProvider(service = KeywordSearchService.class)
|
||||||
public class SolrSearchService implements KeywordSearchService {
|
public class SolrSearchService implements KeywordSearchService {
|
||||||
|
|
||||||
private static final String BAD_IP_ADDRESS_FORMAT = "ioexception occured when talking to server";
|
private static final String BAD_IP_ADDRESS_FORMAT = "ioexception occurred when talking to server";
|
||||||
private static final String SERVER_REFUSED_CONNECTION = "server refused connection";
|
private static final String SERVER_REFUSED_CONNECTION = "server refused connection";
|
||||||
private static final int IS_REACHABLE_TIMEOUT_MS = 1000;
|
private static final int IS_REACHABLE_TIMEOUT_MS = 1000;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user