diff --git a/entitymanager/src/main/java/org/hibernate/ejb/packaging/NativeScanner.java b/entitymanager/src/main/java/org/hibernate/ejb/packaging/NativeScanner.java index a855d5a088..66c965cef2 100644 --- a/entitymanager/src/main/java/org/hibernate/ejb/packaging/NativeScanner.java +++ b/entitymanager/src/main/java/org/hibernate/ejb/packaging/NativeScanner.java @@ -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; } }