Skip to content

Commit 4a31f2e

Browse files
authored
Merge pull request #1885 from ISHIDAUNAI/master
Optimization code
2 parents 6a78e49 + 138d45f commit 4a31f2e

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
@@ -295,18 +295,6 @@ protected URL findJarForResource(URL url) throws MalformedURLException {
295295
return null;
296296
}
297297

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

0 commit comments

Comments
 (0)