git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026186 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2010-10-22 00:40:36 +00:00
parent 7a36e60c96
commit 898a12b6bf
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ public class PrototypeFactory {
new Object[] { prototype }); new Object[] { prototype });
} catch (NoSuchMethodException ex2) { } catch (NoSuchMethodException ex2) {
if (prototype instanceof Serializable) { if (prototype instanceof Serializable) {
return new PrototypeSerializationFactory((Serializable) prototype); return (Factory<T>) new PrototypeSerializationFactory<Serializable>((Serializable) prototype);
} }
} }
} }