Rename to SerializableCloner.
Dieser Commit ist enthalten in:
Ursprung
e7aa1ca98c
Commit
35d5912275
@ -53,7 +53,7 @@ import com.comphenix.protocol.reflect.cloning.Cloner;
|
||||
import com.comphenix.protocol.reflect.cloning.CollectionCloner;
|
||||
import com.comphenix.protocol.reflect.cloning.FieldCloner;
|
||||
import com.comphenix.protocol.reflect.cloning.ImmutableDetector;
|
||||
import com.comphenix.protocol.reflect.cloning.ReflectionCloner;
|
||||
import com.comphenix.protocol.reflect.cloning.SerializableCloner;
|
||||
import com.comphenix.protocol.reflect.cloning.AggregateCloner.BuilderParameters;
|
||||
import com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract;
|
||||
import com.comphenix.protocol.reflect.instances.DefaultInstances;
|
||||
@ -436,7 +436,7 @@ public class PacketContainer implements Serializable {
|
||||
|
||||
// Fall back on the alternative (but slower) method of reading and writing back the packet
|
||||
if (CLONING_UNSUPPORTED.contains(id)) {
|
||||
clonedPacket = ReflectionCloner.clone(this).getHandle();
|
||||
clonedPacket = SerializableCloner.clone(this).getHandle();
|
||||
} else {
|
||||
clonedPacket = DEEP_CLONER.clone(getHandle());
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ import java.io.Serializable;
|
||||
* Represents a cloner that can clone any class that implements Serializable.
|
||||
* @author Kristian Stangeland
|
||||
*/
|
||||
public class ReflectionCloner implements Cloner {
|
||||
public class SerializableCloner implements Cloner {
|
||||
|
||||
@Override
|
||||
public boolean canClone(Object source) {
|
In neuem Issue referenzieren
Einen Benutzer sperren