ParameterizedTypeImpl should not allow nulls 39/73239/6
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 20 Jun 2018 11:01:32 +0000 (13:01 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 26 Jun 2018 11:08:04 +0000 (11:08 +0000)
commitba1ff8e463bcb3dc80edf5aaf231b6e7c28aaf20
tree7b5d3ae21988a89f9e14eaa6c972a0c3d81e6652
parent3c4c7866da0788014b9ce1ed81ea63683cfa8e51
ParameterizedTypeImpl should not allow nulls

Null parameterizations do not make sense, make sure we reject them
with a NPE.

Change-Id: I16266396f2b3eb145f752b314c67b1d92f4ced75
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-generator-util/src/main/java/org/opendaylight/mdsal/binding/model/util/Types.java
binding/mdsal-binding-generator-util/src/test/java/org/opendaylight/mdsal/binding/model/util/BindingTypesTest.java
binding/mdsal-binding-generator-util/src/test/java/org/opendaylight/mdsal/binding/model/util/TypesTest.java