Forráskód Böngészése

调整CompatibleSet.getInputStream方法为默认方法.

nieqiurong 3 hónapja
szülő
commit
79e0427aab

+ 3 - 1
mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/spi/CompatibleSet.java

@@ -37,7 +37,9 @@ public interface CompatibleSet {
      * @deprecated 3.5.12 无需实现
      * @deprecated 3.5.12 无需实现
      */
      */
     @Deprecated
     @Deprecated
-    InputStream getInputStream(String path) throws Exception;
+    default InputStream getInputStream(String path) throws Exception {
+        return null;
+    }
 
 
     /**
     /**
      * 获取容器bean实例
      * 获取容器bean实例