You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2022/08/24 04:18:33 UTC
[iotdb] branch SecurityCheck updated: change path
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch SecurityCheck
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/SecurityCheck by this push:
new f11e6c144b change path
f11e6c144b is described below
commit f11e6c144b3975ed5a729d47e4de43bbf7bb3f5d
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Wed Aug 24 12:18:23 2022 +0800
change path
---
server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java | 5 -----
1 file changed, 5 deletions(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
index 23f82f7634..182c126c56 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
@@ -175,11 +175,6 @@ public class IoTDBDescriptor {
urlString += (File.separatorChar + IoTDBConfig.EXTERNAL_CONFIG_NAME);
}
- // If the url doesn't start with "file:" or "classpath:", it's provided as a no path.
- // So we need to add it to make it a real URL.
- if (!urlString.startsWith("file:") && !urlString.startsWith("classpath:")) {
- urlString = "file:" + urlString;
- }
return Paths.get(urlString);
}