mirror of
https://github.com/torproject/collector.git
synced 2024-11-23 09:29:46 +00:00
Simplify expression.
This commit is contained in:
parent
be14c1f065
commit
ca4ec0c161
@ -834,7 +834,7 @@ public class ArchiveWriter extends CollecTorMain {
|
||||
try {
|
||||
for (int i = 0; i < outputFiles.length; i++) {
|
||||
File outputFile = outputFiles[i];
|
||||
boolean appendToFile = append == null ? false : append[i];
|
||||
boolean appendToFile = append != null && append[i];
|
||||
outputFile.getParentFile().mkdirs();
|
||||
BufferedOutputStream bos = new BufferedOutputStream(
|
||||
new FileOutputStream(outputFile, appendToFile));
|
||||
|
Loading…
Reference in New Issue
Block a user