Update of /cvsroot/displaytag/display09/src/org/displaytag/decorator
In directory sc8-pr-cvs1:/tmp/cvs-serv23833/src/org/displaytag/decorator

Modified Files:
        Decorator.java TableDecorator.java 
Log Message:
moved deprecated methods to the old org.apache.taglibs.display package

Index: Decorator.java
===================================================================
RCS file: /cvsroot/displaytag/display09/src/org/displaytag/decorator/Decorator.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Decorator.java      21 Jun 2003 12:34:49 -0000      1.1
--- Decorator.java      22 Jun 2003 16:16:25 -0000      1.2
***************
*** 1,7 ****
  package org.displaytag.decorator;
  
- import java.util.Collection;
- import java.util.List;
- 
  import javax.servlet.jsp.PageContext;
  
--- 1,4 ----
***************
*** 107,144 ****
                mCollection= null;
                mObject= null;
-       }
- 
-       /**
-        * Method getList
-        * @return List
-        * @deprecated use getObject
-        */
-       public List getList()
-       {
-               if (mCollection instanceof List)
-               {
-                       return (List) mCollection;
-               }
-               else
-               {
-                       throw new RuntimeException("This function is only supported if 
the given collection is a java.util.List.");
-               }
-       }
- 
-       /**
-        * Method getCollection
-        * @return Collection
-        * @deprecated use getObject
-        */
-       public Collection getCollection()
-       {
-               if (mCollection instanceof Collection)
-               {
-                       return (Collection) mCollection;
-               }
-               else
-               {
-                       throw new RuntimeException("Function only supported if the 
given collection is a java.util.Collection.");
-               }
        }
  
--- 104,107 ----

Index: TableDecorator.java
===================================================================
RCS file: 
/cvsroot/displaytag/display09/src/org/displaytag/decorator/TableDecorator.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TableDecorator.java 21 Jun 2003 12:34:49 -0000      1.1
--- TableDecorator.java 22 Jun 2003 16:16:25 -0000      1.2
***************
*** 5,9 ****
   * @version $Revision$ ($Author$)
   */
! public class TableDecorator extends Decorator
  {
  
--- 5,9 ----
   * @version $Revision$ ($Author$)
   */
! public abstract class TableDecorator extends Decorator
  {
  




-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to