Skip to content

Commit e8d9a1a

Browse files
committed
Add missing javadoc for EnumCodec constructor
1 parent 8be4bcc commit e8d9a1a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bson/src/main/org/bson/codecs/EnumCodec.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
public final class EnumCodec<T extends Enum<T>> implements Codec<T> {
2929
private final Class<T> clazz;
3030

31+
/**
32+
* Construct an instance for teh given enum class.
33+
*
34+
* @param clazz the enum class
35+
*/
3136
public EnumCodec(final Class<T> clazz) {
3237
this.clazz = clazz;
3338
}

0 commit comments

Comments
 (0)