Skip to content

Commit 138d45f

Browse files
committed
The method getPackagePath exists in two classes,one is DefaultVFS.java, the other one is ResolverUtil.java.
And they are identical. Delete it in DefaultVFS.java.
1 parent 2c7a809 commit 138d45f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/main/java/org/apache/ibatis/io/DefaultVFS.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -291,18 +291,6 @@ protected URL findJarForResource(URL url) throws MalformedURLException {
291291
return null;
292292
}
293293

294-
/**
295-
* Converts a Java package name to a path that can be looked up with a call to
296-
* {@link ClassLoader#getResources(String)}.
297-
*
298-
* @param packageName
299-
* The Java package name to convert to a path
300-
* @return the package path
301-
*/
302-
protected String getPackagePath(String packageName) {
303-
return packageName == null ? null : packageName.replace('.', '/');
304-
}
305-
306294
/**
307295
* Returns true if the resource located at the given URL is a JAR file.
308296
*

0 commit comments

Comments
 (0)