Skip to content

Fix typos in method names and javadoc #40971

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

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public Object getValue() {
}

/**
* Return a new {@link SanitizableData} instance with sanatized value.
* Return a new {@link SanitizableData} instance with sanitized value.
* @return a new sanitizable data instance.
* @since 3.1.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ public DiscoveredOperationMethod(Method method, OperationType operationType,
Assert.notNull(annotationAttributes, "AnnotationAttributes must not be null");
List<String> producesMediaTypes = new ArrayList<>();
producesMediaTypes.addAll(Arrays.asList(annotationAttributes.getStringArray("produces")));
producesMediaTypes.addAll(getProducesFromProducable(annotationAttributes));
producesMediaTypes.addAll(getProducesFromProducible(annotationAttributes));
this.producesMediaTypes = Collections.unmodifiableList(producesMediaTypes);
}

private <E extends Enum<E> & Producible<E>> List<String> getProducesFromProducable(
private <E extends Enum<E> & Producible<E>> List<String> getProducesFromProducible(
AnnotationAttributes annotationAttributes) {
Class<?> type = getProducesFrom(annotationAttributes);
if (type == Producible.class) {
Expand Down