mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
@@ -19,7 +19,7 @@ public final class VERSION {
|
||||
|
||||
public final static int MajorVersion = 0;
|
||||
public final static int MinorVersion = 2;
|
||||
public final static int RevisionVersion = 6;
|
||||
public final static int RevisionVersion = 7;
|
||||
|
||||
public static String getVersionNumber() {
|
||||
return VERSION.MajorVersion + "." + VERSION.MinorVersion + "." + VERSION.RevisionVersion;
|
||||
|
||||
@@ -231,7 +231,7 @@ public class ConfigFilter extends FilterAdapter {
|
||||
InputStream inStream = null;
|
||||
try {
|
||||
boolean xml = false;
|
||||
if (filePath.startsWith("http://") || filePath.startsWith("https://") || filePath.startsWith("file:/")) {
|
||||
if (filePath.startsWith("http://") || filePath.startsWith("https://") || filePath.startsWith("file://")) {
|
||||
URL url = new URL(filePath);
|
||||
inStream = url.openStream();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user