[jboss-cvs] JBossAS SVN: r95115 - in projects/jboss-deployers/branches/vfs3: deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/ear/support and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Oct 19 10:39:16 EDT 2009
Author: david.lloyd at jboss.com
Date: 2009-10-19 10:39:15 -0400 (Mon, 19 Oct 2009)
New Revision: 95115
Modified:
projects/jboss-deployers/branches/vfs3/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/structure/helpers/SecurityActions.java
projects/jboss-deployers/branches/vfs3/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/structure/SecurityActions.java
projects/jboss-deployers/branches/vfs3/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/ear/support/MockEarStructureDeployer.java
Log:
Remove usage of deprecated method
Modified: projects/jboss-deployers/branches/vfs3/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/structure/SecurityActions.java
===================================================================
--- projects/jboss-deployers/branches/vfs3/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/structure/SecurityActions.java 2009-10-19 14:37:37 UTC (rev 95114)
+++ projects/jboss-deployers/branches/vfs3/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/structure/SecurityActions.java 2009-10-19 14:39:15 UTC (rev 95115)
@@ -51,7 +51,7 @@
{
public Boolean run() throws Exception
{
- return f.isLeaf();
+ return f.isFile();
}
});
}
@@ -72,7 +72,7 @@
{
public Boolean isLeaf(VirtualFile f) throws IOException
{
- return f.isLeaf();
+ return f.isFile();
}
};
Modified: projects/jboss-deployers/branches/vfs3/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/ear/support/MockEarStructureDeployer.java
===================================================================
--- projects/jboss-deployers/branches/vfs3/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/ear/support/MockEarStructureDeployer.java 2009-10-19 14:37:37 UTC (rev 95114)
+++ projects/jboss-deployers/branches/vfs3/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/ear/support/MockEarStructureDeployer.java 2009-10-19 14:39:15 UTC (rev 95115)
@@ -100,7 +100,7 @@
VirtualFile file = structureContext.getFile();
try
{
- if (file.isLeaf() == true || file.getName().endsWith(".ear") == false)
+ if (file.isFile() == true || file.getName().endsWith(".ear") == false)
return false;
context = createContext(structureContext, "META-INF");
Modified: projects/jboss-deployers/branches/vfs3/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/structure/helpers/SecurityActions.java
===================================================================
--- projects/jboss-deployers/branches/vfs3/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/structure/helpers/SecurityActions.java 2009-10-19 14:37:37 UTC (rev 95114)
+++ projects/jboss-deployers/branches/vfs3/deployers-vfs-spi/src/main/java/org/jboss/deployers/vfs/spi/structure/helpers/SecurityActions.java 2009-10-19 14:39:15 UTC (rev 95115)
@@ -21,7 +21,6 @@
*/
package org.jboss.deployers.vfs.spi.structure.helpers;
-import java.io.IOException;
import java.security.AccessController;
import java.security.PrivilegedAction;
@@ -50,7 +49,7 @@
{
public Boolean run()
{
- return Boolean.valueOf(f.isLeaf());
+ return Boolean.valueOf(f.isFile());
}
}).booleanValue();
}
@@ -60,7 +59,7 @@
{
public boolean isLeaf(VirtualFile f)
{
- return f.isLeaf();
+ return f.isFile();
}
};
More information about the jboss-cvs-commits
mailing list