|
@@ -18,6 +18,7 @@ package com.jfinal.core;
|
|
|
|
|
|
|
|
import java.io.File;
|
|
import java.io.File;
|
|
|
import java.io.IOException;
|
|
import java.io.IOException;
|
|
|
|
|
+import java.io.UnsupportedEncodingException;
|
|
|
import java.lang.reflect.Modifier;
|
|
import java.lang.reflect.Modifier;
|
|
|
import java.net.JarURLConnection;
|
|
import java.net.JarURLConnection;
|
|
|
import java.net.URL;
|
|
import java.net.URL;
|
|
@@ -251,7 +252,7 @@ public class PathScanner {
|
|
|
private String decodeUrl(String url) {
|
|
private String decodeUrl(String url) {
|
|
|
try {
|
|
try {
|
|
|
return URLDecoder.decode(url, "UTF-8");
|
|
return URLDecoder.decode(url, "UTF-8");
|
|
|
- } catch (java.io.UnsupportedEncodingException e) {
|
|
|
|
|
|
|
+ } catch (UnsupportedEncodingException e) {
|
|
|
throw new RuntimeException(e);
|
|
throw new RuntimeException(e);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|