Skip to content

Commit 054d8a6

Browse files
committed
minor change
1 parent 170f437 commit 054d8a6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/java/org/xmlobjects/util/copy/CopyBuilder.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@
3333

3434
public 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

0 commit comments

Comments
 (0)