|
|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2012-2017 the original author or authors. |
|
|
|
|
* Copyright 2012-2018 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
|
@ -20,10 +20,10 @@ import java.io.IOException;
@@ -20,10 +20,10 @@ import java.io.IOException;
|
|
|
|
|
import java.net.URL; |
|
|
|
|
import java.net.URLClassLoader; |
|
|
|
|
import java.util.Arrays; |
|
|
|
|
import java.util.Collections; |
|
|
|
|
import java.util.Enumeration; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.Map; |
|
|
|
|
import java.util.Vector; |
|
|
|
|
|
|
|
|
|
import javax.persistence.EntityManager; |
|
|
|
|
import javax.persistence.EntityManagerFactory; |
|
|
|
|
@ -336,7 +336,7 @@ public class HibernateJpaAutoConfigurationTests
@@ -336,7 +336,7 @@ public class HibernateJpaAutoConfigurationTests
|
|
|
|
|
@Override |
|
|
|
|
public Enumeration<URL> getResources(String name) throws IOException { |
|
|
|
|
if (HIDDEN_RESOURCES.contains(name)) { |
|
|
|
|
return new Vector<URL>().elements(); |
|
|
|
|
return Collections.emptyEnumeration(); |
|
|
|
|
} |
|
|
|
|
return super.getResources(name); |
|
|
|
|
} |
|
|
|
|
|