incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r612757 - /incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/helper/SlingServletContext.java
Date Thu, 17 Jan 2008 08:32:00 GMT
Author: bdelacretaz
Date: Thu Jan 17 00:31:59 2008
New Revision: 612757

URL: http://svn.apache.org/viewvc?rev=612757&view=rev
Log:
Fixed 'typo': setAttribute called removeAttribute

Modified:
    incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/helper/SlingServletContext.java

Modified: incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/helper/SlingServletContext.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/helper/SlingServletContext.java?rev=612757&r1=612756&r2=612757&view=diff
==============================================================================
--- incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/helper/SlingServletContext.java
(original)
+++ incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/helper/SlingServletContext.java
Thu Jan 17 00:31:59 2008
@@ -177,7 +177,7 @@
      * {@link SlingMainServlet} is running.
      */
     public void setAttribute(String name, Object object) {
-        getServletContext().removeAttribute(name);
+        getServletContext().setAttribute(name, object);
     }
 
     // ---------- Servlet Container information --------------------------------



Mime
View raw message