Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2016-07-26 13:52:44 +0000
committerThomas Watson2016-07-26 13:52:44 +0000
commitc856de27051a9566aef3990fdb53159b1d6894db (patch)
tree792ec9d59584e3dd264777fa64ff8001a305a6ef /bundles/org.eclipse.equinox.http.servlet
parent14f1a178b872755d52190da7a9c67c34f3597a18 (diff)
downloadrt.equinox.bundles-c856de27051a9566aef3990fdb53159b1d6894db.tar.gz
rt.equinox.bundles-c856de27051a9566aef3990fdb53159b1d6894db.tar.xz
rt.equinox.bundles-c856de27051a9566aef3990fdb53159b1d6894db.zip
Bug 498408 - HttpSessionAdapter attribute doesn't return string butI20160726-1400
object name string Change-Id: I294298d9802b2341afa815e31dcc0ea91d580802 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.http.servlet')
-rw-r--r--bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/HttpSessionAdaptor.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/HttpSessionAdaptor.java b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/HttpSessionAdaptor.java
index 81f9a17e2..14212dd67 100644
--- a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/HttpSessionAdaptor.java
+++ b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/HttpSessionAdaptor.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2015 Cognos Incorporated, IBM Corporation and others.
+ * Copyright (c) 2005, 2016 Cognos Incorporated, IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -144,6 +144,11 @@ public class HttpSessionAdaptor implements HttpSession, Serializable {
private EventListeners getEventListeners() {
return innerSession.getController().getEventListeners();
}
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
}
private transient final ContextController controller;

Back to the top