Author: remy.maucherat(a)jboss.com
Date: 2010-01-19 12:28:00 -0500 (Tue, 19 Jan 2010)
New Revision: 1362
Modified:
trunk/java/org/apache/catalina/connector/CoyoteAdapter.java
Log:
- Better method name ...
Modified: trunk/java/org/apache/catalina/connector/CoyoteAdapter.java
===================================================================
--- trunk/java/org/apache/catalina/connector/CoyoteAdapter.java 2010-01-19 17:17:24 UTC
(rev 1361)
+++ trunk/java/org/apache/catalina/connector/CoyoteAdapter.java 2010-01-19 17:28:00 UTC
(rev 1362)
@@ -672,7 +672,7 @@
request.setRequestedSessionCookie(true);
request.setRequestedSessionURL(false);
} else {
- if (!checkSessionIdValid(request, request.getRequestedSessionId()))
{
+ if (!isSessionIdValid(request, request.getRequestedSessionId())) {
// Replace the session id until one is valid
convertMB(scookie.getValue());
request.setRequestedSessionId(scookie.getValue().toString());
@@ -688,7 +688,7 @@
* Return <code>true</code> if the session identifier specified
* identifies a valid session.
*/
- public boolean checkSessionIdValid(Request request, String id) {
+ public boolean isSessionIdValid(Request request, String id) {
if (id == null)
return (false);
Context context = request.getContext();
Show replies by date