[jboss-cvs] JBossAS SVN: r94215 - in projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins: context and 2 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Oct 1 09:13:44 EDT 2009
Author: alesj
Date: 2009-10-01 09:13:43 -0400 (Thu, 01 Oct 2009)
New Revision: 94215
Modified:
projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins/cache/CombinedVFSCache.java
projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins/context/VfsArchiveBrowser.java
projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins/context/file/LinkHandler.java
projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins/context/jar/JarEntryContents.java
Log:
Small fixes from FindBugs #2.
Modified: projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins/cache/CombinedVFSCache.java
===================================================================
--- projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins/cache/CombinedVFSCache.java 2009-10-01 12:25:36 UTC (rev 94214)
+++ projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins/cache/CombinedVFSCache.java 2009-10-01 13:13:43 UTC (rev 94215)
@@ -209,7 +209,7 @@
return "CombinedVFSCache[real-cache: " + realCache + "]";
}
- private class PermanentVFSCache extends MapVFSCache
+ private static class PermanentVFSCache extends MapVFSCache
{
private boolean started;
Modified: projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins/context/VfsArchiveBrowser.java
===================================================================
--- projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins/context/VfsArchiveBrowser.java 2009-10-01 12:25:36 UTC (rev 94214)
+++ projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins/context/VfsArchiveBrowser.java 2009-10-01 13:13:43 UTC (rev 94215)
@@ -102,7 +102,7 @@
/**
* Archive browser delegate filter.
*/
- private class ArchiveBrowserFilter implements VirtualFileFilter
+ private static class ArchiveBrowserFilter implements VirtualFileFilter
{
private ArchiveBrowser.Filter filter;
Modified: projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins/context/file/LinkHandler.java
===================================================================
--- projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins/context/file/LinkHandler.java 2009-10-01 12:25:36 UTC (rev 94214)
+++ projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins/context/file/LinkHandler.java 2009-10-01 13:13:43 UTC (rev 94215)
@@ -56,7 +56,7 @@
/** The link targets */
private HashMap<String, VirtualFileHandler> linkTargets = new HashMap<String, VirtualFileHandler>(3);
- class ParentOfLink extends AbstractURLHandler implements StructuredVirtualFileHandler
+ static class ParentOfLink extends AbstractURLHandler implements StructuredVirtualFileHandler
{
private static final long serialVersionUID = 1;
Modified: projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins/context/jar/JarEntryContents.java
===================================================================
--- projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins/context/jar/JarEntryContents.java 2009-10-01 12:25:36 UTC (rev 94214)
+++ projects/vfs/branches/Branch_2_1/src/main/java/org/jboss/virtual/plugins/context/jar/JarEntryContents.java 2009-10-01 13:13:43 UTC (rev 94215)
@@ -32,7 +32,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import java.util.jar.JarInputStream;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
@@ -58,7 +57,7 @@
private byte[] contents;
private boolean isJar;
private NestedJarFromStream njar;
- private InputStream openStream;
+ private transient InputStream openStream;
private List<VirtualFileHandler> entryChildren;
private transient Map<String, VirtualFileHandler> entryMap;
More information about the jboss-cvs-commits
mailing list