Skip to content

Commit 9d24b6a

Browse files
committed
Add a rule for javadoc type
1 parent cfbed64 commit 9d24b6a

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

checkstyle.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@
333333
<property name="allowedAnnotations" value="Override, Test"/>
334334
<property name="tokens" value="METHOD_DEF, CTOR_DEF, ANNOTATION_FIELD_DEF, COMPACT_CTOR_DEF"/>
335335
</module>
336+
<module name="JavadocType"/>
336337
<module name="MissingJavadocType">
337338
<property name="scope" value="protected"/>
338339
<property name="tokens"

src/main/java/com/maxmind/db/CacheKey.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* CacheKey is used as a key in the node cache. It contains the offset of the
55
* node in the database file, the class of the data at that node, and the type
66
* of the data at that node.
7+
*
8+
* @param <T> the type of data stored at the node
79
*/
810
public final class CacheKey<T> {
911
private final int offset;

src/main/java/com/maxmind/db/DatabaseRecord.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
/**
66
* DatabaseRecord represents the data and metadata associated with a database
77
* lookup.
8+
*
9+
* @param <T> the type of data stored at the node
810
*/
911
public final class DatabaseRecord<T> {
1012
private final T data;

0 commit comments

Comments
 (0)