Revision: 503
          http://svn.sourceforge.net/stripes/?rev=503&view=rev
Author:   bengunter
Date:     2007-03-30 10:35:22 -0700 (Fri, 30 Mar 2007)

Log Message:
-----------
Removed deprecated constructor FlashScope(HttpServletRequest request)

Modified Paths:
--------------
    trunk/stripes/src/net/sourceforge/stripes/controller/FlashScope.java

Modified: trunk/stripes/src/net/sourceforge/stripes/controller/FlashScope.java
===================================================================
--- trunk/stripes/src/net/sourceforge/stripes/controller/FlashScope.java        
2007-03-30 13:37:45 UTC (rev 502)
+++ trunk/stripes/src/net/sourceforge/stripes/controller/FlashScope.java        
2007-03-30 17:35:22 UTC (rev 503)
@@ -92,28 +92,6 @@
     private Integer key;
 
     /**
-     * <p>
-     * Protected constructor to prevent random creation of FlashScopes. Uses 
the request to generate
-     * a key under which the flash scope will be stored, and can be identified 
by later.
-     * </p>
-     * <p>
-     * This constructor is deprecated. [EMAIL PROTECTED] 
#FlashScope(HttpServletRequest, Integer)} is the
-     * preferred constructor.
-     * </p>
-     * 
-     * @param request the request for which this flash scope will be used.
-     */
-    @Deprecated
-    protected FlashScope(HttpServletRequest request) {
-        this.request = request;
-        StripesRequestWrapper wrapper = 
StripesRequestWrapper.findStripesWrapper(request);
-        if (wrapper == null)
-            throw new StripesRuntimeException(
-                    "No StripesRequestWrapper was found for the given 
request");
-        this.key = wrapper.hashCode();
-    }
-
-    /**
      * Protected constructor to prevent random creation of FlashScopes. Uses 
the request
      * to generate a key under which the flash scope will be stored, and can 
be identified
      * by later.


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to