Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Javadoc Warnings #984

Merged
merged 1 commit into from
Jul 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 9 additions & 2 deletions jaxrs-api/src/main/java/jakarta/ws/rs/core/EntityPart.java
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ static Builder withFileName(String partAndFileName) {
* an {@code IllegalStateException} if it is called after calling
* {@link #getContent} or {@link #getContent(GenericType)}.
*
* @param <T> type parameter of the value returned
*
* @param type the {@code Class} that the implementation should convert this
* part to
* @return an instance of the specified {@code Class} representing the content
Expand Down Expand Up @@ -164,6 +166,8 @@ <T> T getContent(Class<T> type) throws IllegalArgumentException, IllegalStateExc
* result in an {@code IllegalStateException}. Likewise this method will throw
* an {@code IllegalStateException} if it is called after calling
* {@link #getContent} or {@link #getContent(Class)}.
*
* @param <T> type parameter of the value returned
*
* @param type the generic type that the implementation should convert this part
* to
Expand Down Expand Up @@ -307,7 +311,8 @@ public default Builder content(String fileName, InputStream content) throws Ille
* {@link #header(String, String...)} or {@link #headers(MultivaluedMap)}
* methods.
* </p>
*
*
* @param <T> type parameter of the content
* @param content the object to be used as the content
* @param type the type of this object which will be used when selecting the
* appropriate {@link jakarta.ws.rs.ext.MessageBodyWriter}
Expand Down Expand Up @@ -335,6 +340,7 @@ public default Builder content(String fileName, InputStream content) throws Ille
* </p>
*
* @param content the object to be used as the content
* @return the updated builder.
* @throws IllegalArgumentException if {@code content} is {@code null}
*/
public default Builder content(Object content) throws IllegalArgumentException {
Expand All @@ -354,7 +360,8 @@ public default Builder content(Object content) throws IllegalArgumentException {
* {@link #header(String, String...)} or {@link #headers(MultivaluedMap)}
* methods.
* </p>
*
*
* @param <T> type parameter of the content
* @param content the object to be used as the content
* @param type the generic type of this object which will be used when
* selecting the appropriate
Expand Down