mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-21 08:05:19 +08:00
prevent ClassNotFound exception for emtpy class name
Signed-off-by: Joe Bowser <bowserj@apache.org>
This commit is contained in:
parent
ea1f041e11
commit
e3430a916c
@ -113,7 +113,7 @@ public class PluginEntry {
|
||||
@SuppressWarnings("rawtypes")
|
||||
private Class getClassByName(final String clazz) throws ClassNotFoundException {
|
||||
Class c = null;
|
||||
if (clazz != null) {
|
||||
if ((clazz != null) && !("".equals(clazz))) {
|
||||
c = Class.forName(clazz);
|
||||
}
|
||||
return c;
|
||||
|
Loading…
Reference in New Issue
Block a user