mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-12 13:05:06 +00:00
Fix SonarQube warning: The user-supplied array 'typeArguments' is stored directly.
This commit is contained in:
parent
8d0214a741
commit
7af67bdd16
@ -157,7 +157,7 @@ private static final class ParameterizedTypeImpl implements ParameterizedType {
|
||||
private ParameterizedTypeImpl(final Class<?> raw, final Type useOwner, final Type[] typeArguments) {
|
||||
this.raw = raw;
|
||||
this.useOwner = useOwner;
|
||||
this.typeArguments = typeArguments;
|
||||
this.typeArguments = typeArguments.clone();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user