mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-28 23:16:15 -04:00
remove unnecessary null checks
This commit is contained in:
@@ -3238,7 +3238,7 @@ jobjectArray JNICALL ScriptMethodsObjectInfoNamespace::getCtsDestinationClusters
|
||||
}
|
||||
}
|
||||
|
||||
if (!s_ctsDestinationClusters || s_ctsDestinationClusters->empty())
|
||||
if (s_ctsDestinationClusters->empty())
|
||||
return 0;
|
||||
|
||||
LocalObjectArrayRefPtr valueArray = createNewObjectArray(s_ctsDestinationClusters->size(), JavaLibrary::getClsString());
|
||||
|
||||
Reference in New Issue
Block a user