HHH-4666 - Implement the clarified rules for resource discovery (esp for <mapping-file> and co)
Removed unecessary continue statement while investigating issue git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18917 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
23264b554c
commit
b763122d4c
|
@ -203,7 +203,6 @@ public class NativeScanner implements Scanner {
|
|||
files.add( new NamedInputStream( entry.getName(), entry.getInputStream() ) );
|
||||
leftOver.remove( entry );
|
||||
done = true;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (done) continue;
|
||||
|
@ -211,7 +210,6 @@ public class NativeScanner implements Scanner {
|
|||
if ( entry.getName().endsWith( endWithPattern ) ) {
|
||||
files.add( new NamedInputStream( entry.getName(), entry.getInputStream() ) );
|
||||
leftOver.remove( entry );
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue