From a4d5fc6cabec0e35f3e021000e38acd4df395f3b Mon Sep 17 00:00:00 2001 From: MrNavaStar Date: Sun, 18 Aug 2024 01:34:06 -0600 Subject: [PATCH] return empty list instead of null --- src/main/java/me/mrnavastar/r/R.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/mrnavastar/r/R.java b/src/main/java/me/mrnavastar/r/R.java index b68314f..08ecac1 100644 --- a/src/main/java/me/mrnavastar/r/R.java +++ b/src/main/java/me/mrnavastar/r/R.java @@ -118,6 +118,6 @@ public Class[] generics() { } }).toArray(Class[]::new); } - return null; + return new Class[]{}; } } \ No newline at end of file