Raw type
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026186 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7a36e60c96
commit
898a12b6bf
|
@ -73,7 +73,7 @@ public class PrototypeFactory {
|
|||
new Object[] { prototype });
|
||||
} catch (NoSuchMethodException ex2) {
|
||||
if (prototype instanceof Serializable) {
|
||||
return new PrototypeSerializationFactory((Serializable) prototype);
|
||||
return (Factory<T>) new PrototypeSerializationFactory<Serializable>((Serializable) prototype);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue