Skip to content

Commit b1b3727

Browse files
committed
Fix checkstyle config to work with breaking change in 10.22.0
checkstyle/checkstyle#9280
1 parent 8d985f4 commit b1b3727

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

checkstyle.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@
342342
<module name="JavadocType"/>
343343
<module name="JavadocVariable">
344344
<property name="tokens" value="VARIABLE_DEF"/>
345-
<property name="scope" value="public"/>
345+
<property name="accessModifiers" value="public"/>
346346
</module>
347347
<module name="MissingJavadocType">
348348
<property name="scope" value="protected"/>
@@ -383,4 +383,4 @@
383383
<property name="influenceFormat" value="1"/>
384384
</module>
385385
</module>
386-
</module>
386+
</module>

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,11 @@ public boolean hasNext() {
168168
}
169169

170170
static class NetworkNode {
171+
/** The IP address of the node. */
171172
public byte[] ip;
173+
/** The prefix of the node. */
172174
public int prefix;
175+
/** The node number. */
173176
public int pointer;
174177

175178
/**

0 commit comments

Comments
 (0)