diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2017-03-29 16:03:53 -0700 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2017-03-29 16:03:53 -0700 |
commit | 84f6954ca91e7dbe57e4c972f9ac260361beaa49 (patch) | |
tree | d361178fa5a46de2ea88334f7debbea423fdf2e6 /java/core/src | |
parent | acde1651b53ddc50f0e37907acd109b2e10e5274 (diff) | |
download | protobuf-84f6954ca91e7dbe57e4c972f9ac260361beaa49.tar.gz protobuf-84f6954ca91e7dbe57e4c972f9ac260361beaa49.tar.bz2 protobuf-84f6954ca91e7dbe57e4c972f9ac260361beaa49.zip |
Fix Java build.
Diffstat (limited to 'java/core/src')
-rw-r--r-- | java/core/src/test/java/com/google/protobuf/MapTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/core/src/test/java/com/google/protobuf/MapTest.java b/java/core/src/test/java/com/google/protobuf/MapTest.java index 01b371a3..9ce5ebc9 100644 --- a/java/core/src/test/java/com/google/protobuf/MapTest.java +++ b/java/core/src/test/java/com/google/protobuf/MapTest.java @@ -1516,7 +1516,8 @@ public class MapTest extends TestCase { } try { - builder.putAllInt32ToMessageField(newMap(4, null, 5, null)); + builder.putAllInt32ToMessageField( + MapTest.<Integer, MessageValue>newMap(4, null, 5, null)); fail(); } catch (NullPointerException expected) { } |