U 修复 ClassPathResourceProvider 读到资源为空的情况处理

+ 新增 AbstractResourceProvider
This commit is contained in:
天爱有情
2021-12-16 16:59:56 +08:00
parent f43116ddd1
commit 8ca5e3b5c3
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -104,7 +104,7 @@
<execution> <execution>
<id>attach-sources</id> <id>attach-sources</id>
<goals> <goals>
<goal>jar-no-fork</goal>6 <goal>jar-no-fork</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
@@ -12,7 +12,7 @@ import java.net.URL;
* @date 2021/8/7 16:05 * @date 2021/8/7 16:05
* @Description url * @Description url
*/ */
public class URLResourceProvider implements AbstractResourceProvider { public class URLResourceProvider extends AbstractResourceProvider {
public static final String NAME = "URL"; public static final String NAME = "URL";