提交 b7a28b3f 编写于 作者: D dxu

8022478: Fix Warnings In sun.net.www.protocol.http Package

Reviewed-by: darcy
上级 0d8b6ec9
...@@ -37,6 +37,8 @@ import java.net.PasswordAuthentication; ...@@ -37,6 +37,8 @@ import java.net.PasswordAuthentication;
public abstract class AuthCacheValue implements Serializable { public abstract class AuthCacheValue implements Serializable {
static final long serialVersionUID = 735249334068211611L;
public enum Type { public enum Type {
Proxy, Proxy,
Server Server
......
...@@ -51,6 +51,8 @@ import sun.net.www.HeaderParser; ...@@ -51,6 +51,8 @@ import sun.net.www.HeaderParser;
public abstract class AuthenticationInfo extends AuthCacheValue implements Cloneable { public abstract class AuthenticationInfo extends AuthCacheValue implements Cloneable {
static final long serialVersionUID = -2588378268010453259L;
// Constants saying what kind of authroization this is. This determines // Constants saying what kind of authroization this is. This determines
// the namespace in the hash table lookup. // the namespace in the hash table lookup.
public static final char SERVER_AUTHENTICATION = 's'; public static final char SERVER_AUTHENTICATION = 's';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册