@@ -153,7 +153,7 @@ public <T> T get(InetAddress ipAddress, Class<T> cls) throws IOException {
153153 return getRecord (ipAddress , cls ).getData ();
154154 }
155155
156- protected int getIpv4Start () {
156+ int getIpv4Start () {
157157 return this .ipV4Start ;
158158 }
159159
@@ -247,7 +247,7 @@ public Networks networks(boolean skipAliasedNetworks) throws
247247 }
248248 }
249249
250- protected BufferHolder getBufferHolder () throws ClosedDatabaseException {
250+ BufferHolder getBufferHolder () throws ClosedDatabaseException {
251251 BufferHolder bufferHolder = this .bufferHolderReference .get ();
252252 if (bufferHolder == null ) {
253253 throw new ClosedDatabaseException ();
@@ -351,7 +351,7 @@ public int[] traverseTree(byte[] ip, int node, int bitCount)
351351 return new int []{node , i };
352352 }
353353
354- protected int readNode (ByteBuffer buffer , int nodeNumber , int index )
354+ int readNode (ByteBuffer buffer , int nodeNumber , int index )
355355 throws InvalidDatabaseException {
356356 // index is the index of the record within the node, which
357357 // can either be 0 or 1.
@@ -384,7 +384,7 @@ protected int readNode(ByteBuffer buffer, int nodeNumber, int index)
384384 }
385385 }
386386
387- protected <T > T resolveDataPointer (
387+ <T > T resolveDataPointer (
388388 ByteBuffer buffer ,
389389 int pointer ,
390390 Class <T > cls
0 commit comments