We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e70eb2 commit 2038b17Copy full SHA for 2038b17
src/main/java/root/core/repository/implement/PropertyRepositoryImpl.java
@@ -319,6 +319,10 @@ public void loadMonitoringInfoConfig(String filePath) {
319
public String[] getConnectionInfoFileNames() {
320
String connInfoDirPath = "./config/connectioninfo";
321
String[] connInfoFileList = new File(connInfoDirPath).list();
322
+ if(connInfoFileList == null || connInfoFileList.length == 0) {
323
+ return new String[] {};
324
+ }
325
+
326
for (int i = 0; i < connInfoFileList.length; i++) {
327
connInfoFileList[i] = connInfoDirPath + "/" + connInfoFileList[i];
328
}
0 commit comments