Skip to content

Commit

Permalink
Annotate Converter with @FunctionalInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Jan 1, 2024
1 parent 42e15c7 commit 893fe40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Avoid possible NPE in DateTimeConverter.parse(Class, Class, String).
</action>
<action dev="ggregory" type="fix" due-to="Claude Warren, Gary Gregory">
Annotate Converter with @FunctionalInterface.
</action>
<!-- ADD -->
<action dev="ggregory" type="add" due-to="Dependabot, Gary Gregory">
Add github/codeql-action #118.
Expand Down
1 change: 1 addition & 0 deletions src/main/java/org/apache/commons/beanutils2/Converter.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
* @param <T> the convert type.
* @since 1.3
*/
@FunctionalInterface
public interface Converter<T> {

/**
Expand Down

0 comments on commit 893fe40

Please sign in to comment.