Simplify ClassLoadingStrategy implementations 85/78985/6
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 22 Dec 2018 01:19:15 +0000 (02:19 +0100)
committerRobert Varga <nite@hq.sk>
Tue, 25 Dec 2018 20:46:19 +0000 (20:46 +0000)
commit75181ffcf7c147a22330a8817af89aecdaf8149c
tree0030e9fcf91835b1bf4df2089522fabdefb1bc0f
parent0b2bb22b91a830f10a93e23ab92933994ee046c0
Simplify ClassLoadingStrategy implementations

loadClass(Type) has only one implementation, which defers to
loadClass(String). Promote that impleentation to default, simplifying
other potential implementations.

Change-Id: Idef5da25e10490fce2174dee7a6c031f71cc741c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-generator-api/src/main/java/org/opendaylight/mdsal/binding/generator/api/ClassLoadingStrategy.java
binding/mdsal-binding-generator-impl/src/main/java/org/opendaylight/mdsal/binding/generator/impl/GeneratedClassLoadingStrategy.java