Updated Branches:
  refs/heads/master 7b57fb14e -> 57e173d30

WICKET-4461 Make all Session methods which deal with attributes public


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/57e173d3
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/57e173d3
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/57e173d3

Branch: refs/heads/master
Commit: 57e173d30d1f86f1def6aba6accf161102167342
Parents: 7b57fb1
Author: Martin Tzvetanov Grigorov <[email protected]>
Authored: Mon Mar 19 15:47:33 2012 +0200
Committer: Martin Tzvetanov Grigorov <[email protected]>
Committed: Mon Mar 19 15:47:33 2012 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/wicket/Session.java   |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/57e173d3/wicket-core/src/main/java/org/apache/wicket/Session.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/Session.java 
b/wicket-core/src/main/java/org/apache/wicket/Session.java
index c679d45..bc70204 100644
--- a/wicket-core/src/main/java/org/apache/wicket/Session.java
+++ b/wicket-core/src/main/java/org/apache/wicket/Session.java
@@ -702,8 +702,6 @@ public abstract class Session implements IClusterable, 
IEventSink
         *            The name of the attribute to store
         * @return The value of the attribute
         */
-       // TODO WICKET-NG made public for page manager, used to be protected, 
see if there is a way to
-       // revert
        public final Serializable getAttribute(final String name)
        {
                if (!isTemporary())
@@ -727,7 +725,7 @@ public abstract class Session implements IClusterable, 
IEventSink
        /**
         * @return List of attributes for this session
         */
-       protected final List<String> getAttributeNames()
+       public final List<String> getAttributeNames()
        {
                if (!isTemporary())
                {
@@ -769,7 +767,7 @@ public abstract class Session implements IClusterable, 
IEventSink
         * @param name
         *            the name of the attribute to remove
         */
-       protected final void removeAttribute(String name)
+       public final void removeAttribute(String name)
        {
                if (!isTemporary())
                {
@@ -796,8 +794,6 @@ public abstract class Session implements IClusterable, 
IEventSink
         * @param value
         *            The value of the attribute
         */
-       // TODO WICKET-NG made public for page manager, used to be protected, 
see if there is a way to
-       // revert
        public final void setAttribute(String name, Serializable value)
        {
                if (!isTemporary())

Reply via email to