use parent

This commit is contained in:
Taro L. Saito 2011-08-01 15:53:08 +09:00
parent ecd8aaa3e9
commit 387ffa34f0
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ public class SnappyLoader
private static ClassLoader getRootClassLoader() {
ClassLoader cl = SnappyLoader.class.getClassLoader();
while (cl.getParent() != null) {
if (cl.getParent() != null) {
cl = cl.getParent();
}
return cl;