Skip to content

Commit

Permalink
Remove unnecessary warning suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Feb 25, 2022
1 parent 18bec35 commit f2172ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/src/main/java/jakarta/el/ELUtil.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates and others.
* Copyright (c) 1997, 2022 Oracle and/or its affiliates and others.
* All rights reserved.
* Copyright 2004 The Apache Software Foundation
*
Expand Down Expand Up @@ -665,7 +665,6 @@ static Constructor<?> getConstructor(Class<?> type, Constructor<?> c) {
/*
* This method duplicates code in com.sun.el.util.ReflectionUtil. When making changes keep the code in sync.
*/
@SuppressWarnings("null")
static Object[] buildParameters(ELContext context, Class<?>[] parameterTypes, boolean isVarArgs, Object[] params) {
Object[] parameters = null;
if (parameterTypes.length > 0) {
Expand Down

0 comments on commit f2172ce

Please sign in to comment.