Skip to content

Commit

Permalink
release 2.4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
xiemalin committed Mar 4, 2021
1 parent 20df49e commit d26d13d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jprotobuf-2.x JDK 7 或以上版本
<dependency>
<groupId>com.baidu</groupId>
<artifactId>jprotobuf</artifactId>
<version>2.4.7</version>
<version>2.4.8</version>
</dependency>
```
[下载发行包](https://repo1.maven.org/maven2/com/baidu/jprotobuf/2.4.3/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void testEncodeDecode() {

byte[] bb = book.toByteArray();

Codec<AddressBookProtosPOJO> codec = ProtobufProxy.create(AddressBookProtosPOJO.class, false);
Codec<AddressBookProtosPOJO> codec = ProtobufProxy.create(AddressBookProtosPOJO.class);
try {
AddressBookProtosPOJO decode = codec.decode(bb);
Assert.assertEquals(2, decode.getList().size());
Expand Down

0 comments on commit d26d13d

Please sign in to comment.