Skip to content

Commit

Permalink
Fix mistaks in the comments and Javadoc. No code has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
ikhoon committed Sep 8, 2022
1 parent fab9b95 commit 53475b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,11 +344,11 @@ private static <T> T extractResponseFieldMeta(JavaType classType, JavaType field
Function<AnnotatedElement, @Nullable T> extractor) {
// There are no standard rules to get properties of a response object. But we might assume that a
// response object is a gettable object. Before directly accessing private fields, try the patterns that
// are commonly used in gettable objects. Although the constructor has the characteristics of settable,
// are commonly used in gettable objects. Although the constructor has the characteristics of setters,
// it is added just in case.
//
// - Java POJO style setters such as `void setName(String name)`.
// - Non-standard setters such as `void name(String name)`.
// - Java POJO style getters such as `String getName()`.
// - Non-standard getters such as `String name()`.
// - Private fields.
// - A single constructor as a last resort.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import com.linecorp.armeria.internal.server.annotation.AnnotatedDocServicePlugin;

/**
* Creates a new {@link NamedTypeInfo} dynamically via Java SPI (Service Provider Interface).
* Creates a new {@link NamedTypeInfo} loaded dynamically via Java SPI (Service Provider Interface).
* The loaded {@link NamedTypeInfoProvider}s are used in the {@link DocServicePlugin}s to extract
* a {@link NamedTypeInfo} from the given {@code typeDescriptor}.
*/
Expand Down

0 comments on commit 53475b1

Please sign in to comment.