[jboss-cvs] JBossAS SVN: r74007 - trunk/testsuite/src/main/org/jboss/test/aop/scopedextender.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Jun 3 13:18:05 EDT 2008
Author: kabir.khan at jboss.com
Date: 2008-06-03 13:18:05 -0400 (Tue, 03 Jun 2008)
New Revision: 74007
Removed:
trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/Base.java
trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/ChildBase.java
trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/ChildExtender.java
trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/Extender.java
trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/InfantBase.java
trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/ScopedExtenderTester.java
trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/ScopedExtenderTesterMBean.java
trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/SubBase.java
trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/SubExtender.java
Log:
[JBAS-5147] Get rid of unused classes
Deleted: trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/Base.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/Base.java 2008-06-03 16:31:29 UTC (rev 74006)
+++ trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/Base.java 2008-06-03 17:18:05 UTC (rev 74007)
@@ -1,41 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* 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.aop.scopedextender;
-
-/**
- *
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision$
- */
-public abstract class Base {
- private int base;
-
- public int getBase()
- {
- return base;
- }
-
- public void setBase(int val)
- {
- base = val;
- }
- }
\ No newline at end of file
Deleted: trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/ChildBase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/ChildBase.java 2008-06-03 16:31:29 UTC (rev 74006)
+++ trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/ChildBase.java 2008-06-03 17:18:05 UTC (rev 74007)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* 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.aop.scopedextender;
-
-/**
- *
- * @author <a href="stalep at conduct.no">Stale W. Pedersen</a>
- * @version $Revision:
- */
-public class ChildBase extends SubBase
-{
- public void updateBase()
- {
- setBase(-1);
- }
-
- public int getAddBase()
- {
- return getBase()+1;
- }
-
-
-}
Deleted: trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/ChildExtender.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/ChildExtender.java 2008-06-03 16:31:29 UTC (rev 74006)
+++ trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/ChildExtender.java 2008-06-03 17:18:05 UTC (rev 74007)
@@ -1,36 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* 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.aop.scopedextender;
-
-/**
- *
- * @author <a href="stalep at conduct.no">Stale W. Pedersen</a>
- * @version $Revision:
- */
-public class ChildExtender extends SubExtender
-{
- public void updateExtender()
- {
- setExtender(1);
- }
-
-}
Deleted: trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/Extender.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/Extender.java 2008-06-03 16:31:29 UTC (rev 74006)
+++ trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/Extender.java 2008-06-03 17:18:05 UTC (rev 74007)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* 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.aop.scopedextender;
-
-/**
- *
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision$
- */
-public class Extender extends Base
-{
- int extender;
-
- public int getExtender()
- {
- return extender;
- }
-
- public void setExtender(int other)
- {
- this.extender = other;
- }
-}
Deleted: trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/InfantBase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/InfantBase.java 2008-06-03 16:31:29 UTC (rev 74006)
+++ trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/InfantBase.java 2008-06-03 17:18:05 UTC (rev 74007)
@@ -1,37 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* 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.aop.scopedextender;
-
-/**
- *
- * @author <a href="stalep at conduct.no">Stale W. Pedersen</a>
- * @version $Revision:
- */
-public class InfantBase extends ChildBase
-{
-
- public void infantize(int i)
- {
- setBase(i-1);
- }
-
-}
Deleted: trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/ScopedExtenderTester.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/ScopedExtenderTester.java 2008-06-03 16:31:29 UTC (rev 74006)
+++ trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/ScopedExtenderTester.java 2008-06-03 17:18:05 UTC (rev 74007)
@@ -1,74 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * 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.aop.scopedextender;
-
-import org.jboss.logging.Logger;
-
-/**
- *
- * @author <a href="stalep at conduct.no">Stale W. Pedersen</a>
- * @version $Revision:
- */
-public class ScopedExtenderTester implements ScopedExtenderTesterMBean
-{
- Logger log = Logger.getLogger(this.getClass());
-
- public void testMethod() throws Exception
- {
-
- try
- {
- log.debug("--------------------------- TESTING SCOPED EXTENDER ------------------");
- log.debug("MY CLASSLOADER " + getClass().getClassLoader());
- log.debug("SCOPEDEXTENDER INTERCEPTOR CLASSLOADER " + ScopedExtenderInterceptor.class.getClassLoader());
-
-
- ChildBase childB = new ChildBase();
- childB.updateBase();
- if(!ScopedExtenderInterceptor.method)
- throw new RuntimeException("Expected ScopedExtenderInterceptor.method to be true, it was: "+ScopedExtenderInterceptor.method);
-
- ScopedExtenderInterceptor.method = false;
- Base base = new SubBase();
- base.setBase(1);
- if(!ScopedExtenderInterceptor.method)
- throw new RuntimeException("Expected ScopedExtenderInterceptor.method to be true, it was: "+ScopedExtenderInterceptor.method);
-
- ScopedExtenderInterceptor.method = false;
- ChildExtender ext = new ChildExtender();
- ext.updateExtender();
- if(!ScopedExtenderInterceptor.method)
- throw new RuntimeException("Expected ScopedExtenderInterceptor.method to be true, it was: "+ScopedExtenderInterceptor.method);
-
- ScopedExtenderInterceptor.method = false;
- InfantBase infant = new InfantBase();
- infant.infantize(3);
- if(!ScopedExtenderInterceptor.method)
- throw new RuntimeException("Expected ScopedExtenderInterceptor.method to be true, it was: "+ScopedExtenderInterceptor.method);
- }
- catch (Exception e)
- {
- log.error("Error running scoped extender", e);
- throw e;
- }
- }
-}
Deleted: trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/ScopedExtenderTesterMBean.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/ScopedExtenderTesterMBean.java 2008-06-03 16:31:29 UTC (rev 74006)
+++ trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/ScopedExtenderTesterMBean.java 2008-06-03 17:18:05 UTC (rev 74007)
@@ -1,33 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* 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.aop.scopedextender;
-
-/**
-*
-* @author <a href="stalep at conduct.no">Stale W. Pedersen</a>
-* @version $Revision:
-*/
-public interface ScopedExtenderTesterMBean {
-
- void testMethod() throws Exception;
-
-}
Deleted: trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/SubBase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/SubBase.java 2008-06-03 16:31:29 UTC (rev 74006)
+++ trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/SubBase.java 2008-06-03 17:18:05 UTC (rev 74007)
@@ -1,36 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* 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.aop.scopedextender;
-
-/**
- *
- * @author <a href="stalep at conduct.no">Stale W. Pedersen</a>
- * @version $Revision:
- */
-public class SubBase extends Base {
-
- public SubBase()
- {
-
- }
-
-}
Deleted: trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/SubExtender.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/SubExtender.java 2008-06-03 16:31:29 UTC (rev 74006)
+++ trunk/testsuite/src/main/org/jboss/test/aop/scopedextender/SubExtender.java 2008-06-03 17:18:05 UTC (rev 74007)
@@ -1,36 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* 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.aop.scopedextender;
-
-/**
- *
- * @author <a href="stalep at conduct.no">Stale W. Pedersen</a>
- * @version $Revision:
- */
-public class SubExtender extends Extender
-{
- public void fooExtender()
- {
-
- }
-
-}
More information about the jboss-cvs-commits
mailing list