Skip to content

Commit 8d985f4

Browse files
committed
Strip whitespace
1 parent 1992e84 commit 8d985f4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public final class Networks<T> implements Iterator<DatabaseRecord<T>> {
2121
private final boolean includeAliasedNetworks;
2222
private final ByteBuffer buffer; /* Stores the buffer for Next() calls */
2323
private final Class<T> typeParameterClass;
24-
24+
2525
/**
2626
* Constructs a Networks instance.
2727
*
@@ -30,7 +30,7 @@ public final class Networks<T> implements Iterator<DatabaseRecord<T>> {
3030
* @param typeParameterClass The type of data returned by the iterator.
3131
* @throws ClosedDatabaseException Exception for a closed database.
3232
*/
33-
Networks(Reader reader, boolean includeAliasedNetworks, Class<T> typeParameterClass)
33+
Networks(Reader reader, boolean includeAliasedNetworks, Class<T> typeParameterClass)
3434
throws ClosedDatabaseException {
3535
this(reader, includeAliasedNetworks, new NetworkNode[]{}, typeParameterClass);
3636
}
@@ -117,7 +117,7 @@ private boolean isInIpv4Subtree(byte[] ip) {
117117
}
118118
return true;
119119
}
120-
120+
121121
/**
122122
* hasNext prepares the next network for reading with the Network method. It
123123
* returns true if there is another network to be processed and false if there

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ int record = traverseResult[0];
205205
* @throws ClosedDatabaseException Exception for a closed databased.
206206
* @throws InvalidDatabaseException Exception for an invalid database.
207207
*/
208-
public <T> Networks<T> networks(Class<T> typeParameterClass) throws
208+
public <T> Networks<T> networks(Class<T> typeParameterClass) throws
209209
InvalidNetworkException, ClosedDatabaseException, InvalidDatabaseException {
210210
return this.networks(false, typeParameterClass);
211211
}

0 commit comments

Comments
 (0)