Skip to content

Commit 4e9da0f

Browse files
committed
Fix a few style issues
1 parent 1fb95b0 commit 4e9da0f

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

CHANGELOG.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
CHANGELOG
22
=========
3-
4-
2.1.1
5-
------------------
6-
7-
* Messages for `DeserializationException` provide more detail about the involved types when an `IllegalArgumentException` is thrown.
8-
93
2.1.0
104
------------------
115

12-
* Messages for `DeserializationException` have been improved and the
13-
cause is included, if any.
6+
* Messages for `DeserializationException` have been improved and the cause
7+
is included, if any. Moreover, the message provides detail about the involved
8+
types, if the exeption is caused by an `IllegalArgumentException`.
149

1510
2.0.0 (2020-10-13)
1611
------------------

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,7 @@ record = this.readNode(buffer, record, bit);
184184
String msgCause = Optional.ofNullable(exception).map(Exception::getMessage).orElse("");
185185
throw new DeserializationException("Error getting record for IP " + ipAddress.toString() + " - " + msgCause, exception);
186186
}
187-
188187
}
189-
190188
return new DatabaseRecord<>(dataRecord, ipAddress, pl);
191189
}
192190

0 commit comments

Comments
 (0)