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
+5 -5
View File
@@ -23,10 +23,10 @@
<deplay.snapshotRepository>https://oss.sonatype.org/content/repositories/snapshots/</deplay.snapshotRepository> <deplay.snapshotRepository>https://oss.sonatype.org/content/repositories/snapshots/</deplay.snapshotRepository>
<!-- 私服 --> <!-- 私服 -->
<!-- <skip.nexus>true</skip.nexus>--> <!-- <skip.nexus>true</skip.nexus>-->
<!-- <deplay.id>smart</deplay.id>--> <!-- <deplay.id>smart</deplay.id>-->
<!-- <deplay.repository>http://192.168.3.10:6061/repository/smart_hosted/</deplay.repository>--> <!-- <deplay.repository>http://192.168.3.10:6061/repository/smart_hosted/</deplay.repository>-->
<!-- <deplay.snapshotRepository>http://192.168.3.10:6061/repository/smart_hosted/</deplay.snapshotRepository>--> <!-- <deplay.snapshotRepository>http://192.168.3.10:6061/repository/smart_hosted/</deplay.snapshotRepository>-->
</properties> </properties>
<licenses> <licenses>
@@ -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";