mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 02:43:03 +00:00
[Android] Validate constructor parameters in ConfigFile.
This commit is contained in:
parent
03260c3e6f
commit
0cd372c3c0
@ -34,6 +34,9 @@ public final class ConfigFile
|
|||||||
*/
|
*/
|
||||||
public ConfigFile(String filePath)
|
public ConfigFile(String filePath)
|
||||||
{
|
{
|
||||||
|
if (filePath == null)
|
||||||
|
throw new IllegalArgumentException("filePath cannot be null.");
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
open(filePath);
|
open(filePath);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user