Skip to content

Commit

Permalink
修正 primitive判断少了 unit32与unit64类型
Browse files Browse the repository at this point in the history
  • Loading branch information
xiemalin committed May 24, 2017
1 parent 21ad45d commit 959eb57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion v3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>com.baidu</groupId>
<artifactId>jprotobuf</artifactId>
<version>2.1.0</version>
<version>2.1.1</version>

<name>jprotobuf</name>
<description>A very useful utility library for java programmer using google protobuf.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public boolean isPrimitive() {
|| this == FIXED64 || this == FLOAT
|| this == INT64 || this == SFIXED32
|| this == SFIXED64 || this == SINT32
|| this == SINT64 || this == BOOL) {
|| this == SINT64 || this == BOOL || this == FieldType.UINT32 || this == FieldType.UINT64) {
return true;
}

Expand Down

0 comments on commit 959eb57

Please sign in to comment.