mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-08 05:48:12 +00:00
merged 2 if statement into 1
This commit is contained in:
parent
89195efad3
commit
03473a585a
@ -595,8 +595,7 @@ public class ValidationEngine implements IValidatorResourceFetcher {
|
||||
private Map<String, byte[]> scanDirectory(File f, boolean recursive) throws FileNotFoundException, IOException {
|
||||
Map<String, byte[]> res = new HashMap<>();
|
||||
for (File ff : f.listFiles()) {
|
||||
if (ff.isDirectory()){
|
||||
if (recursive)
|
||||
if (ff.isDirectory() && recursive){
|
||||
res.putAll(scanDirectory(ff, true));
|
||||
}
|
||||
else if (!isIgnoreFile(ff)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user