Skip to content

Commit

Permalink
Fix some javadoc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Jun 25, 2024
1 parent 7ffb04a commit a940889
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
3 changes: 2 additions & 1 deletion api/src/main/java/jakarta/el/ELContext.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2022 Oracle and/or its affiliates and others.
* Copyright (c) 1997, 2024 Oracle and/or its affiliates and others.
* All rights reserved.
* Copyright 2004 The Apache Software Foundation
*
Expand Down Expand Up @@ -410,6 +410,7 @@ public void exitLambdaScope() {
* <p>
* An <code>ELException</code> is thrown if an error occurs during the conversion.
*
* @param <T> The target type for the conversion.
* @param obj The object to convert.
* @param targetType The target type for the conversion.
*
Expand Down
4 changes: 3 additions & 1 deletion api/src/main/java/jakarta/el/ELProcessor.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2021 Oracle and/or its affiliates and others.
* Copyright (c) 2012, 2024 Oracle and/or its affiliates and others.
* All rights reserved.
*
* This program and the accompanying materials are made available under the
Expand Down Expand Up @@ -89,6 +89,7 @@ public ELManager getELManager() {
/**
* Evaluates an Jakarta Expression Language expression.
*
* @param <T> The type of the result of the expression evaluation.
* @param expression The Jakarta Expression Language expression to be evaluated.
* @return The result of the expression evaluation.
*/
Expand All @@ -101,6 +102,7 @@ public <T> T eval(String expression) {
/**
* Evaluates an Jakarta Expression Language expression, and coerces the result to the specified type.
*
* @param <T> The type of the result of the expression evaluation.
* @param expression The Jakarta Expression Language expression to be evaluated.
* @param expectedType Specifies the type that the resultant evaluation will be coerced to.
* @return The result of the expression evaluation.
Expand Down
3 changes: 2 additions & 1 deletion api/src/main/java/jakarta/el/ELResolver.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2023 Oracle and/or its affiliates and others.
* Copyright (c) 1997, 2024 Oracle and/or its affiliates and others.
* All rights reserved.
* Copyright 2004 The Apache Software Foundation
*
Expand Down Expand Up @@ -255,6 +255,7 @@ public Object invoke(ELContext context, Object base, Object method, Class<?>[] p
* An <code>ELException</code> is thrown if an error occurs during the conversion.
* </p>
*
* @param <T> The target type for the conversion
* @param context The context of this evaluation.
* @param obj The object to convert.
* @param targetType The target type for the conversion.
Expand Down
3 changes: 2 additions & 1 deletion api/src/main/java/jakarta/el/ExpressionFactory.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, 2024 Oracle and/or its affiliates and others.
* All rights reserved.
* Copyright 2004 The Apache Software Foundation
*
Expand Down Expand Up @@ -228,6 +228,7 @@ public static ExpressionFactory newInstance(Properties properties) {
* <p>
* An <code>ELException</code> is thrown if an error results from applying the conversion rules.
*
* @param <T> The target type for the coercion.
* @param obj The object to coerce.
* @param targetType The target type for the coercion.
*
Expand Down
3 changes: 2 additions & 1 deletion api/src/main/java/jakarta/el/ValueExpression.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, 2024 Oracle and/or its affiliates and others.
* All rights reserved.
* Copyright 2004 The Apache Software Foundation
*
Expand Down Expand Up @@ -70,6 +70,7 @@ public abstract class ValueExpression extends Expression {
* The resulting value is automatically coerced to the type returned by <code>getExpectedType()</code>, which was
* provided to the <code>ExpressionFactory</code> when this expression was created.
*
* @param <T> The type of the result of the expression evaluation.
* @param context The context of this evaluation.
*
* @return The result of the expression evaluation.
Expand Down

0 comments on commit a940889

Please sign in to comment.