Skip to content

Commit

Permalink
Suppress IDE warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Jun 20, 2022
1 parent 460c25e commit e5f93b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/src/main/java/jakarta/el/ELUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ static Constructor<?> getConstructor(Class<?> type, Constructor<?> c) {
return null;
}

@SuppressWarnings("null") // params cannot be null when used
static Object[] buildParameters(ELContext context, Class<?>[] parameterTypes, boolean isVarArgs, Object[] params) {
Object[] parameters = null;
if (parameterTypes.length > 0) {
Expand Down

0 comments on commit e5f93b5

Please sign in to comment.