Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

Commit 90ac63e

Browse files
committed
fix javadoc errors
1 parent a2c5c7b commit 90ac63e

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

jooby/src/main/java/org/jooby/BodyFormatter.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ interface Text {
8686
Charset charset();
8787

8888
/**
89-
* Access to request locals. See {@link Request#attributes()} and {@link Locals}.
89+
* Access to request locals. See {@link Request#attributes()}.
9090
*
9191
* @return Current request locals.
9292
*/
@@ -132,12 +132,14 @@ interface Text {
132132
*
133133
* <p>
134134
* For text format (json, yaml, xml, etc.) a converter usually call to
135-
* {@link Context#text(Context.Text)} in order to set charset and close resources.
135+
* {@link BodyFormatter.Context#text(BodyFormatter.Context.Text)} in order
136+
* to set charset and close resources.
136137
* </p>
137138
*
138139
* <p>
139140
* For binary format a converter usually call to
140-
* {@link Context#bytes(Context.Bytes)} in order to close resources.
141+
* {@link BodyFormatter.Context#bytes(BodyFormatter.Context.Bytes)} in order
142+
* to close resources.
141143
* </p>
142144
*
143145
* @param body A body message.

jooby/src/main/java/org/jooby/BodyParser.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,13 @@ default boolean canParse(final Class<?> type) {
138138
* Attempt to read a message from HTTP request body.
139139
* <p>
140140
* For text format (json, yaml, xml, etc.) a converter usually call to
141-
* {@link Context#text(Context.Text)} in order to apply correct charset and close
142-
* resources.
141+
* {@link BodyParser.Context#text(BodyParser.Context.Text)} in order to
142+
* apply correct charset and close resources.
143143
* </p>
144144
*
145145
* <p>
146-
* For binary format a converter usually call to {@link Context#bytes(Context.Bytes)} in
147-
* order to close resources.
146+
* For binary format a converter usually call to
147+
* {@link BodyParser.Context#bytes(BodyParser.Context.Bytes)} in order to close resources.
148148
* </p>
149149
*
150150
* @param type A type of message.
@@ -162,13 +162,13 @@ default <T> T parse(final Class<T> type, final Context ctx)
162162
* Attempt to read a message from HTTP request body.
163163
* <p>
164164
* For text format (json, yaml, xml, etc.) a converter usually call to
165-
* {@link Context#text(Context.Text)} in order to apply correct charset and close
166-
* resources.
165+
* {@link BodyParser.Context#text(BodyParser.Context.Text)} in order to apply correct charset
166+
* and close resources.
167167
* </p>
168168
*
169169
* <p>
170-
* For binary format a converter usually call to {@link Context#bytes(Context.Bytes)} in
171-
* order to close resources.
170+
* For binary format a converter usually call to
171+
* {@link BodyParser.Context#bytes(BodyParser.Context.Bytes)} in order to close resources.
172172
* </p>
173173
*
174174
* @param type A type of message.

jooby/src/main/java/org/jooby/Request.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,7 @@ default boolean isSet(final String name) {
654654
* Get a request local attribute.
655655
*
656656
* @param name Attribute's name.
657+
* @param <T> Target type.
657658
* @return A local attribute.
658659
*/
659660
<T> Optional<T> get(String name);
@@ -662,6 +663,7 @@ default boolean isSet(final String name) {
662663
* Remove a request local attribute.
663664
*
664665
* @param name Attribute's name.
666+
* @param <T> Target type.
665667
* @return A local attribute.
666668
*/
667669
<T> Optional<T> unset(String name);

jooby/src/main/java/org/jooby/Session.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,6 @@ interface Builder {
355355
* optional.
356356
*
357357
* @param name A local var's name.
358-
* @param <T> Target type.
359358
* @return A value or empty optional.
360359
*/
361360
Mutant get(final String name);
@@ -497,7 +496,6 @@ default Session set(final String name, final CharSequence value) {
497496
* Remove a local value (if any) from session locals.
498497
*
499498
* @param name A local var's name.
500-
* @param <T> A local type.
501499
* @return Existing value or empty optional.
502500
*/
503501
Mutant unset(final String name);

0 commit comments

Comments
 (0)