These are throwing off sonar, remove them to keep it happy
Change-Id: I2cd19e34825916721512f956bcfc678953ebfb6f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
}
// Still no result, this can be caused by TCCL not being set up properly -- try the class's ClassLoader
- // if it is present;
+ // if it is present
final ClassLoader loader = childClass.getClassLoader();
if (loader == null) {
return null;
for (@SuppressWarnings("rawtypes") final Constructor constr : clazz.getConstructors()) {
final Class<?>[] parameters = constr.getParameterTypes();
if (!clazz.equals(parameters[0])) {
- // It is not copy constructor;
+ // It is not copy constructor...
try {
return MethodHandles.publicLookup().unreflectConstructor(constr);
} catch (IllegalAccessException e) {