File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/main/java/org/xmlobjects/util/copy Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 3333
3434public class CopyBuilder {
3535 private static final ThreadLocal <CopyContext > contexts = ThreadLocal .withInitial (CopyContext ::new );
36- private static final AbstractCloner <Object > IDENTITY_CLONER = new IdentityCloner ();
37- private static final AbstractCloner <Object > NULL_CLONER = new NullCloner ();
36+ private static final AbstractCloner <? > IDENTITY_CLONER = new IdentityCloner ();
37+ private static final AbstractCloner <? > NULL_CLONER = new NullCloner ();
3838
3939 private final Map <Class <?>, AbstractCloner <?>> cloners = new ConcurrentHashMap <>();
4040 private final Set <Class <?>> immutables = ConcurrentHashMap .newKeySet ();
4141 private final Set <Class <?>> nulls = ConcurrentHashMap .newKeySet ();
42- private final AbstractCloner <Collection <?> > COLLECTION_CLONER = new CollectionCloner <>(this );
43- private final AbstractCloner <Map <?, ?> > MAP_CLONER = new MapCloner <>(this );
44- private final AbstractCloner <Object [] > ARRAY_CLONER = new ArrayCloner (this );
42+ private final AbstractCloner <? > COLLECTION_CLONER = new CollectionCloner <>(this );
43+ private final AbstractCloner <? > MAP_CLONER = new MapCloner <>(this );
44+ private final AbstractCloner <? > ARRAY_CLONER = new ArrayCloner (this );
4545
4646 private volatile boolean failOnError ;
4747
You can’t perform that action at this time.
0 commit comments