[jboss-cvs] jbossretro/src/test/org/jboss/test/util/support ...

Scott Stark scott.stark at jboss.com
Wed Nov 29 11:53:29 EST 2006


  User: starksm 
  Date: 06/11/29 11:53:29

  Added:       src/test/org/jboss/test/util/support   SubPOJO.java
                        SuperPOJO.java
  Log:
  JBBUILD-329 test
  
  Revision  Changes    Path
  1.1      date: 2006/11/29 16:53:29;  author: starksm;  state: Exp;jbossretro/src/test/org/jboss/test/util/support/SubPOJO.java
  
  Index: SubPOJO.java
  ===================================================================
  /*
   * JBoss, Home of Professional Open Source
   * Copyright 2006, Red Hat Middleware LLC, and individual contributors
   * by the @authors tag. See the copyright.txt in the distribution for a
   * full listing of individual contributors.
   *
   * This is free software; you can redistribute it and/or modify it
   * under the terms of the GNU Lesser General Public License as
   * published by the Free Software Foundation; either version 2.1 of
   * the License, or (at your option) any later version.
   *
   * This software is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
   * Lesser General Public License for more details.
   *
   * You should have received a copy of the GNU Lesser General Public
   * License along with this software; if not, write to the Free
   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
   */
  package org.jboss.test.util.support;
  
  /**
   * @author Scott.Stark at jboss.org
   * @version $Revision: 1.1 $
   */
  public class SubPOJO extends SuperPOJO<java.util.ArrayList>
  {
     private java.util.ArrayList bar;
     
     public void setFoo(java.util.ArrayList a)
     {
        bar = a;
     }
     
     public java.util.ArrayList getFoo()
     {
        return bar;
     }
  
  }
  
  
  
  1.1      date: 2006/11/29 16:53:29;  author: starksm;  state: Exp;jbossretro/src/test/org/jboss/test/util/support/SuperPOJO.java
  
  Index: SuperPOJO.java
  ===================================================================
  /*
   * JBoss, Home of Professional Open Source
   * Copyright 2006, Red Hat Middleware LLC, and individual contributors
   * by the @authors tag. See the copyright.txt in the distribution for a
   * full listing of individual contributors.
   *
   * This is free software; you can redistribute it and/or modify it
   * under the terms of the GNU Lesser General Public License as
   * published by the Free Software Foundation; either version 2.1 of
   * the License, or (at your option) any later version.
   *
   * This software is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
   * Lesser General Public License for more details.
   *
   * You should have received a copy of the GNU Lesser General Public
   * License along with this software; if not, write to the Free
   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
   */
  package org.jboss.test.util.support;
  
  /**
   * @author Scott.Stark at jboss.org
   * @version $Revision: 1.1 $
   */
  public class SuperPOJO<T extends java.util.AbstractList>
  {
     private T fooObject;
     
     public void setFoo(T arg)
     {
        fooObject = arg;
     }
     
     public T getFoo()
     {
        return fooObject;
     }
  
  }
  
  
  



More information about the jboss-cvs-commits mailing list