mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
Marked some strings with NON-NLS
This commit is contained in:
parent
23100e164d
commit
43447624bb
@ -280,7 +280,7 @@ public final class SevenZipIngestModule implements FileIngestModule {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} catch (TskCoreException ex) {
|
} catch (TskCoreException ex) {
|
||||||
logger.log(Level.WARNING, "Couldn't obtain file attributes for file: " + archiveFile.toString(), ex);
|
logger.log(Level.WARNING, "Couldn't obtain file attributes for file: " + archiveFile.toString(), ex); //NON-NLS
|
||||||
}
|
}
|
||||||
|
|
||||||
if (detectedFormat == null) {
|
if (detectedFormat == null) {
|
||||||
@ -288,7 +288,7 @@ public final class SevenZipIngestModule implements FileIngestModule {
|
|||||||
|
|
||||||
// if we don't have attribute info then use file extension
|
// if we don't have attribute info then use file extension
|
||||||
String extension = archiveFile.getNameExtension();
|
String extension = archiveFile.getNameExtension();
|
||||||
if ("rar".equals(extension))
|
if ("rar".equals(extension)) //NON-NLS
|
||||||
{
|
{
|
||||||
// for RAR files we need to open them explicitly as RAR. Otherwise, if there is a ZIP archive inside RAR archive
|
// for RAR files we need to open them explicitly as RAR. Otherwise, if there is a ZIP archive inside RAR archive
|
||||||
// it will be opened incorrectly when using 7zip's built-in auto-detect functionality
|
// it will be opened incorrectly when using 7zip's built-in auto-detect functionality
|
||||||
@ -298,7 +298,7 @@ public final class SevenZipIngestModule implements FileIngestModule {
|
|||||||
// Otherwise open the archive using 7zip's built-in auto-detect functionality
|
// Otherwise open the archive using 7zip's built-in auto-detect functionality
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
else if (detectedFormat.contains("application/x-rar-compressed"))
|
else if (detectedFormat.contains("application/x-rar-compressed")) //NON-NLS
|
||||||
{
|
{
|
||||||
// for RAR files we need to open them explicitly as RAR. Otherwise, if there is a ZIP archive inside RAR archive
|
// for RAR files we need to open them explicitly as RAR. Otherwise, if there is a ZIP archive inside RAR archive
|
||||||
// it will be opened incorrectly when using 7zip's built-in auto-detect functionality
|
// it will be opened incorrectly when using 7zip's built-in auto-detect functionality
|
||||||
|
Loading…
x
Reference in New Issue
Block a user