[jboss-cvs] JBossAS SVN: r104814 - projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/dependency/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri May 14 16:46:13 EDT 2010
Author: alesj
Date: 2010-05-14 16:46:13 -0400 (Fri, 14 May 2010)
New Revision: 104814
Modified:
projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/dependency/test/FromDeploymentTestCase.java
Log:
Suppres deprecated methods usage.
Modified: projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/dependency/test/FromDeploymentTestCase.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/dependency/test/FromDeploymentTestCase.java 2010-05-14 20:44:57 UTC (rev 104813)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/dependency/test/FromDeploymentTestCase.java 2010-05-14 20:46:13 UTC (rev 104814)
@@ -53,6 +53,7 @@
}
@Override
+ @SuppressWarnings("deprecation")
protected void setUp() throws Exception
{
super.setUp();
@@ -60,6 +61,7 @@
}
@Override
+ @SuppressWarnings("deprecation")
protected void tearDown() throws Exception
{
JBossXBHelper.removeClassBinding("urn:jboss:bean-deployer:deployment:2.0");
@@ -88,7 +90,7 @@
}
}
- protected void assertFromDeployment(Object test, DeploymentUnit unit, String appName) throws Exception
+ protected static void assertFromDeployment(Object test, DeploymentUnit unit, String appName) throws Exception
{
Class<?> clazz = test.getClass();
Method u = clazz.getMethod("getUnit");
More information about the jboss-cvs-commits
mailing list