mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +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)
|
||||
{
|
||||
if (filePath == null)
|
||||
throw new IllegalArgumentException("filePath cannot be null.");
|
||||
|
||||
try
|
||||
{
|
||||
open(filePath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user