Skip to content

add SafeVarargs annotation#457

Merged
xerial merged 1 commit intomsgpack:developfrom
xuwei-k:SafeVarargs
Feb 7, 2018
Merged

add SafeVarargs annotation#457
xerial merged 1 commit intomsgpack:developfrom
xuwei-k:SafeVarargs

Conversation

@xuwei-k
Copy link
Contributor

@xuwei-k xuwei-k commented Feb 7, 2018

suppress following warning

https://travis-ci.org/msgpack/msgpack-java/jobs/337228566#L522

[warn] /home/travis/build/msgpack/msgpack-java/msgpack-core/src/main/java/org/msgpack/value/ValueFactory.java:231:1: Possible heap pollution from parameterized vararg type java.util.Map.Entry<? extends org.msgpack.value.Value,? extends org.msgpack.value.Value>
[warn]     public static MapValue newMap(Map.Entry<? extends Value, ? extends Value>... pairs)

suppress following warning

https://travis-ci.org/msgpack/msgpack-java/jobs/337228566#L522

```
[warn] /home/travis/build/msgpack/msgpack-java/msgpack-core/src/main/java/org/msgpack/value/ValueFactory.java:231:1: Possible heap pollution from parameterized vararg type java.util.Map.Entry<? extends org.msgpack.value.Value,? extends org.msgpack.value.Value>
[warn]     public static MapValue newMap(Map.Entry<? extends Value, ? extends Value>... pairs)
```
@xerial xerial merged commit b696235 into msgpack:develop Feb 7, 2018
@xerial
Copy link
Member

xerial commented Feb 7, 2018

Thanks!

@xuwei-k xuwei-k deleted the SafeVarargs branch February 8, 2018 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants