Skip to content

Commit c56bbfa

Browse files
committed
Remove whitespace at line ends
1 parent 934a331 commit c56bbfa

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ public class Lookup {
120120
}
121121
```
122122

123-
You can also use the reader object to iterate over the database.
124-
The `reader.networks()` and `reader.networksWithin()` methods can
123+
You can also use the reader object to iterate over the database.
124+
The `reader.networks()` and `reader.networksWithin()` methods can
125125
be used for this purpose.
126126

127127
```java

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ DecodedValue decodePointer(long pointer, Class<?> cls, java.lang.reflect.Type ge
145145

146146
buffer.position(position);
147147
return o;
148-
}
148+
}
149149

150150
private <T> Object decodeByType(
151151
Type type,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
* This class represents an error encountered while iterating over the networks.
66
* The most likely causes are corrupt data in the database, or a bug in the reader code.
77
* </p>
8-
* <p>
8+
* <p>
99
* This exception extends RuntimeException because it is thrown by the iterator
1010
* methods in {@link Networks}.
1111
* </p>
1212
*
1313
* @see Networks
1414
*/
15-
public class NetworksIterationException extends RuntimeException {
15+
public class NetworksIterationException extends RuntimeException {
1616
NetworksIterationException(String message) {
1717
super(message);
1818
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ private NoCache() {
1616
public DecodedValue get(CacheKey key, Loader loader) throws IOException {
1717
return loader.load(key);
1818
}
19-
19+
2020
/**
2121
* @return the singleton instance of the NoCache class
2222
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ interface Loader {
2323

2424
/**
2525
* This method returns the value for the key. If the key is not in the cache
26-
* then the loader is called to load the value.
26+
* then the loader is called to load the value.
2727
*
2828
* @param key
2929
* the key to look up

src/test/java/com/maxmind/db/ReaderTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public networkTest(String network, int prefix,String database, String[] expecte
172172
}
173173
),
174174
new networkTest(
175-
"255.255.255.0",
175+
"255.255.255.0",
176176
24,
177177
"ipv4",
178178
new String[]{}
@@ -238,7 +238,7 @@ public networkTest(String network, int prefix,String database, String[] expecte
238238
"1.1.1.4/30",
239239
"1.1.1.8/29",
240240
"1.1.1.16/28",
241-
"1.1.1.32/32",
241+
"1.1.1.32/32",
242242
}
243243
),
244244
new networkTest(
@@ -251,7 +251,7 @@ public networkTest(String network, int prefix,String database, String[] expecte
251251
"1.1.1.4/30",
252252
"1.1.1.8/29",
253253
"1.1.1.16/28",
254-
"1.1.1.32/32",
254+
"1.1.1.32/32",
255255
},
256256
true
257257
),

0 commit comments

Comments
 (0)