зеркало из https://github.com/mozilla/gecko-dev.git
258666 JDK 1.5 made enum a keyword
This commit is contained in:
Родитель
32ae4b67d6
Коммит
8b09c31544
|
@ -689,10 +689,10 @@ public class SSLSocket extends java.net.Socket {
|
|||
protected void finalize() throws Throwable { }
|
||||
|
||||
public static class CipherPolicy {
|
||||
private int enum;
|
||||
private CipherPolicy(int enum) { }
|
||||
private int _enum;
|
||||
private CipherPolicy(int _enum) { }
|
||||
|
||||
int getEnum() { return enum; }
|
||||
int getEnum() { return _enum; }
|
||||
|
||||
public static final CipherPolicy DOMESTIC =
|
||||
new CipherPolicy(SocketBase.SSL_POLICY_DOMESTIC);
|
||||
|
|
|
@ -69,10 +69,10 @@ public class SSLTest {
|
|||
}
|
||||
|
||||
private void dumpParams() {
|
||||
Enumeration enum = params.keys();
|
||||
Enumeration _enum = params.keys();
|
||||
System.out.println("Parameters:");
|
||||
while (enum.hasMoreElements() ) {
|
||||
String key = (String) enum.nextElement();
|
||||
while (_enum.hasMoreElements() ) {
|
||||
String key = (String) _enum.nextElement();
|
||||
System.out.println(key + "=" + (String)params.get(key));
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче