mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8285504: Minor cleanup could be done in javax.net
Reviewed-by: wetmore
This commit is contained in:
parent
bba456a8db
commit
573eaceca5
20 changed files with 107 additions and 128 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -69,7 +69,7 @@ public interface SSLSessionContext {
|
|||
*
|
||||
* @throws NullPointerException if <code>sessionId</code> is null.
|
||||
*/
|
||||
public SSLSession getSession(byte[] sessionId);
|
||||
SSLSession getSession(byte[] sessionId);
|
||||
|
||||
/**
|
||||
* Returns an Enumeration of all known session id's grouped under this
|
||||
|
@ -79,7 +79,7 @@ public interface SSLSessionContext {
|
|||
*
|
||||
* @return an enumeration of all the Session id's
|
||||
*/
|
||||
public Enumeration<byte[]> getIds();
|
||||
Enumeration<byte[]> getIds();
|
||||
|
||||
/**
|
||||
* Sets the timeout limit for <code>SSLSession</code> objects grouped
|
||||
|
@ -106,8 +106,7 @@ public interface SSLSessionContext {
|
|||
*
|
||||
* @see #getSessionTimeout
|
||||
*/
|
||||
public void setSessionTimeout(int seconds)
|
||||
throws IllegalArgumentException;
|
||||
void setSessionTimeout(int seconds);
|
||||
|
||||
/**
|
||||
* Returns the timeout limit of <code>SSLSession</code> objects grouped
|
||||
|
@ -131,7 +130,7 @@ public interface SSLSessionContext {
|
|||
*
|
||||
* @see #setSessionTimeout
|
||||
*/
|
||||
public int getSessionTimeout();
|
||||
int getSessionTimeout();
|
||||
|
||||
/**
|
||||
* Sets the size of the cache used for storing <code>SSLSession</code>
|
||||
|
@ -150,8 +149,7 @@ public interface SSLSessionContext {
|
|||
*
|
||||
* @see #getSessionCacheSize
|
||||
*/
|
||||
public void setSessionCacheSize(int size)
|
||||
throws IllegalArgumentException;
|
||||
void setSessionCacheSize(int size);
|
||||
|
||||
/**
|
||||
* Returns the size of the cache used for storing <code>SSLSession</code>
|
||||
|
@ -167,5 +165,5 @@ public interface SSLSessionContext {
|
|||
*
|
||||
* @see #setSessionCacheSize
|
||||
*/
|
||||
public int getSessionCacheSize();
|
||||
int getSessionCacheSize();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue