James 5 years ago
parent
commit
5393b452fd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/java/com/jfinal/core/PathScanner.java

+ 2 - 1
src/main/java/com/jfinal/core/PathScanner.java

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