Skip to content

Commit

Permalink
Add missing javadoc for EnumCodec constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
jyemin committed Feb 7, 2022
1 parent 8be4bcc commit e8d9a1a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bson/src/main/org/bson/codecs/EnumCodec.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
public final class EnumCodec<T extends Enum<T>> implements Codec<T> {
private final Class<T> clazz;

/**
* Construct an instance for teh given enum class.
*
* @param clazz the enum class
*/
public EnumCodec(final Class<T> clazz) {
this.clazz = clazz;
}
Expand Down

0 comments on commit e8d9a1a

Please sign in to comment.