File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/maxmind/db Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1414 *
1515 * @param <T> The type of data returned by the iterator.
1616 */
17- public class Networks <T > implements Iterator <DatabaseRecord <T >> {
17+ public final class Networks <T > implements Iterator <DatabaseRecord <T >> {
1818 private final Reader reader ;
1919 private final Stack <NetworkNode > nodes ;
2020 private NetworkNode lastNode ;
@@ -105,7 +105,7 @@ public DatabaseRecord<T> next() {
105105 }
106106 }
107107
108- public boolean isInIpv4Subtree (byte [] ip ) {
108+ private boolean isInIpv4Subtree (byte [] ip ) {
109109 if (ip .length != 16 ) {
110110 return false ;
111111 }
@@ -174,7 +174,7 @@ static class NetworkNode {
174174 * @param prefix The prefix of the node.
175175 * @param pointer The node number
176176 */
177- public NetworkNode (byte [] ip , int prefix , int pointer ) {
177+ NetworkNode (byte [] ip , int prefix , int pointer ) {
178178 this .ip = ip ;
179179 this .prefix = prefix ;
180180 this .pointer = pointer ;
You can’t perform that action at this time.
0 commit comments