Skip to content

Commit

Permalink
return empty list instead of null
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNavaStar committed Aug 18, 2024
1 parent 356eb81 commit a4d5fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/mrnavastar/r/R.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,6 @@ public Class<?>[] generics() {
}
}).toArray(Class[]::new);
}
return null;
return new Class[]{};
}
}

0 comments on commit a4d5fc6

Please sign in to comment.