Assume SecretKey and PublicKey is immutable too.
Dieser Commit ist enthalten in:
Ursprung
d16e0bf1c6
Commit
20ab2a71ac
@ -24,9 +24,12 @@ import java.net.Inet6Address;
|
|||||||
import java.net.InetSocketAddress;
|
import java.net.InetSocketAddress;
|
||||||
import java.net.URI;
|
import java.net.URI;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
import java.security.PublicKey;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
|
import javax.crypto.SecretKey;
|
||||||
|
|
||||||
import com.google.common.primitives.Primitives;
|
import com.google.common.primitives.Primitives;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -42,7 +45,8 @@ public class ImmutableDetector implements Cloner {
|
|||||||
StackTraceElement.class, BigDecimal.class,
|
StackTraceElement.class, BigDecimal.class,
|
||||||
BigInteger.class, Locale.class, UUID.class,
|
BigInteger.class, Locale.class, UUID.class,
|
||||||
URL.class, URI.class, Inet4Address.class,
|
URL.class, URI.class, Inet4Address.class,
|
||||||
Inet6Address.class, InetSocketAddress.class
|
Inet6Address.class, InetSocketAddress.class,
|
||||||
|
SecretKey.class, PublicKey.class
|
||||||
};
|
};
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren