1
0

[MINOR] Improve variable names (#6039)

This commit is contained in:
Shiyan Xu
2022-07-04 20:03:50 -05:00
committed by GitHub
parent c091e4cc30
commit 6187622178
2 changed files with 22 additions and 22 deletions

View File

@@ -61,11 +61,11 @@ public class ReflectionUtils {
return CLAZZ_CACHE.get(clazzName);
}
public static <T> T loadClass(String fqcn) {
public static <T> T loadClass(String className) {
try {
return (T) getClass(fqcn).newInstance();
return (T) getClass(className).newInstance();
} catch (InstantiationException | IllegalAccessException e) {
throw new HoodieException("Could not load class " + fqcn, e);
throw new HoodieException("Could not load class " + className, e);
}
}