Skip to content

Commit e748800

Browse files
committed
System Touch
1 parent 73f2d01 commit e748800

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

source/antivirus/AntivirusScanner.java

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,7 @@ public AntivirusScanner()
6666

6767
if (!Files.exists(p) || !Files.isDirectory(p))
6868
{
69-
CommonRails.printSystemComponent(
70-
this, this.hashCode(),
71-
". AntivirusScanner >> WARNING: scan-path does not exist or is not a directory: "
72-
+ rawPath + " — falling back to '.' ."
73-
);
69+
CommonRails.printSystemComponent(this, this.hashCode(), ". AntivirusScanner >> WARNING: scan-path does not exist or is not a directory: " + rawPath + " — falling back to '.' .");
7470

7571
p = Path.of(".").toAbsolutePath().normalize();
7672
}
@@ -80,14 +76,11 @@ public AntivirusScanner()
8076
catch (Exception e)
8177
{
8278
ExceptionHandler.dispatch(e);
79+
8380
this.scanPath = Path.of(".").toAbsolutePath().normalize();
8481
}
8582

86-
CommonRails.printSystemComponent(
87-
this, this.hashCode(),
88-
". AntivirusScanner initialized — schedule=" + this.schedule
89-
+ " path=" + this.scanPath + " ."
90-
);
83+
CommonRails.printSystemComponent(this, this.hashCode(), ". AntivirusScanner initialized — schedule=" + this.schedule + " path=" + this.scanPath + " .");
9184
}
9285

9386
/** Start the scheduled executor. Returns immediately; scans run in background. */

0 commit comments

Comments
 (0)