Skip to content

Commit

Permalink
Skipping directories
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Dec 18, 2024
1 parent d50c3a4 commit 63f1dee
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ public IValidationExecutor <IValidationSourceXML> loadXSD (@Nonnull final IRepoS
ZipEntry aEntry = null;
while ((aEntry = aZIS.getNextEntry ()) != null)
{
if (aEntry.isDirectory ())
continue;

final String sEntryNameUnified = _unifyPath (aEntry.getName ());
if (sMainUnified.equals (sEntryNameUnified))
bFoundMain = true;
Expand Down

0 comments on commit 63f1dee

Please sign in to comment.