Archiviert
13
0

Assume SecretKey and PublicKey is immutable too.

Dieser Commit ist enthalten in:
Kristian S. Stangeland 2012-12-27 15:11:08 +01:00
Ursprung d16e0bf1c6
Commit 20ab2a71ac

Datei anzeigen

@ -24,9 +24,12 @@ import java.net.Inet6Address;
import java.net.InetSocketAddress;
import java.net.URI;
import java.net.URL;
import java.security.PublicKey;
import java.util.Locale;
import java.util.UUID;
import javax.crypto.SecretKey;
import com.google.common.primitives.Primitives;
/**
@ -42,7 +45,8 @@ public class ImmutableDetector implements Cloner {
StackTraceElement.class, BigDecimal.class,
BigInteger.class, Locale.class, UUID.class,
URL.class, URI.class, Inet4Address.class,
Inet6Address.class, InetSocketAddress.class
Inet6Address.class, InetSocketAddress.class,
SecretKey.class, PublicKey.class
};
@Override