[jboss-cvs] JBossAS SVN: r78538 - projects/jboss-cl/branches/Branch_2_0/classloading-vfs/src/main/java/org/jboss/classloading/spi/vfs/policy.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Sep 15 08:56:27 EDT 2008


Author: alesj
Date: 2008-09-15 08:56:27 -0400 (Mon, 15 Sep 2008)
New Revision: 78538

Modified:
   projects/jboss-cl/branches/Branch_2_0/classloading-vfs/src/main/java/org/jboss/classloading/spi/vfs/policy/VFSClassLoaderPolicy.java
Log:
Remove duplicated colon.

Modified: projects/jboss-cl/branches/Branch_2_0/classloading-vfs/src/main/java/org/jboss/classloading/spi/vfs/policy/VFSClassLoaderPolicy.java
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloading-vfs/src/main/java/org/jboss/classloading/spi/vfs/policy/VFSClassLoaderPolicy.java	2008-09-15 12:47:38 UTC (rev 78537)
+++ projects/jboss-cl/branches/Branch_2_0/classloading-vfs/src/main/java/org/jboss/classloading/spi/vfs/policy/VFSClassLoaderPolicy.java	2008-09-15 12:56:27 UTC (rev 78538)
@@ -52,7 +52,7 @@
 
 /**
  * VFSClassLoaderPolicy.
- * 
+ *
  * @author <a href="adrian at jboss.org">Adrian Brock</a>
  * @version $Revision: 1.1 $
  */
@@ -66,13 +66,13 @@
 
    /** A name for the policy */
    private String name;
-   
+
    /** The delegates */
    private List<? extends DelegateLoader> delegates;
-   
+
    /** The roots */
    private VirtualFile[] roots;
-   
+
    /** The excluded roots */
    private VirtualFile[] excludedRoots;
 
@@ -84,10 +84,10 @@
 
    /** The excluded */
    private ClassFilter excluded;
-   
+
    /** The excluded for export */
    private ClassFilter excludedExport;
-   
+
    /** The exported packages */
    private String[] exportedPackages;
 
@@ -96,20 +96,20 @@
 
    /** Whether we are cachable */
    private boolean cacheable = true;
-   
+
    /** Whether we are blacklistable */
    private boolean blackListable = true;
-   
+
    /** Manifest cache */
    private Map<URL, Manifest> manifestCache = new ConcurrentHashMap<URL, Manifest>();
-   
+
    /** Cache of virtual file information by path */
    @SuppressWarnings("unchecked")
    private Map<String, VirtualFileInfo> vfsCache = Collections.synchronizedMap(new SoftValueHashMap());
-   
+
    /**
     * Determine a name from the roots
-    * 
+    *
     * @param roots the roots
     * @return the name
     */
@@ -117,7 +117,7 @@
    {
       if (roots == null)
          return "";
-      
+
       try
       {
          for (VirtualFile root : roots)
@@ -128,10 +128,10 @@
       }
       return "";
    }
-   
+
    /**
     * Create a new VFSClassLoaderPolicy.
-    * 
+    *
     * @param roots the roots
     * @return the classloader policy
     * @throws IllegalArgumentException for null roots
@@ -140,10 +140,10 @@
    {
       return new VFSClassLoaderPolicy(roots);
    }
-   
+
    /**
     * Create a new VFSClassLoaderPolicy.
-    * 
+    *
     * @param name a name of the policy
     * @param roots the roots
     * @return the classloader policy
@@ -153,10 +153,10 @@
    {
       return new VFSClassLoaderPolicy(name, roots);
    }
-   
+
    /**
     * Create a new VFSClassLoaderPolicy.
-    * 
+    *
     * @param roots the roots
     * @param excludedRoots the excluded roots
     * @return the classloader policy
@@ -166,10 +166,10 @@
    {
       return new VFSClassLoaderPolicy(roots, excludedRoots);
    }
-   
+
    /**
     * Create a new VFSClassLoaderPolicy.
-    * 
+    *
     * @param name a name of the policy
     * @param roots the roots
     * @param excludedRoots the excluded roots
@@ -183,7 +183,7 @@
 
    /**
     * Create a new VFSClassLoaderPolicy.
-    * 
+    *
     * @param roots the roots
     * @throws IllegalArgumentException for null roots
     */
@@ -194,7 +194,7 @@
 
    /**
     * Create a new VFSClassLoaderPolicy.
-    * 
+    *
     * @param roots the roots
     * @param excludedRoots the excluded roots
     * @throws IllegalArgumentException for null roots
@@ -206,7 +206,7 @@
 
    /**
     * Create a new VFSClassLoaderPolicy.
-    * 
+    *
     * @param name the name
     * @param roots the roots
     * @throws IllegalArgumentException for null roots
@@ -218,7 +218,7 @@
 
    /**
     * Create a new VFSClassLoaderPolicy.
-    * 
+    *
     * @param name the name
     * @param roots the roots
     * @param excludedRoots the excluded roots
@@ -263,7 +263,7 @@
 
    /**
     * Set the delegates.
-    * 
+    *
     * @param delegates the delegates.
     */
    public void setDelegates(List<? extends DelegateLoader> delegates)
@@ -273,7 +273,7 @@
 
    /**
     * Get the included.
-    * 
+    *
     * @return the included.
     */
    public ClassFilter getIncluded()
@@ -283,7 +283,7 @@
 
    /**
     * Set the included.
-    * 
+    *
     * @param included the included.
     */
    public void setIncluded(ClassFilter included)
@@ -293,7 +293,7 @@
 
    /**
     * Get the excluded.
-    * 
+    *
     * @return the excluded.
     */
    public ClassFilter getExcluded()
@@ -303,7 +303,7 @@
 
    /**
     * Set the excluded.
-    * 
+    *
     * @param excluded the excluded.
     */
    public void setExcluded(ClassFilter excluded)
@@ -313,7 +313,7 @@
 
    /**
     * Get the excludedExport.
-    * 
+    *
     * @return the excludedExport.
     */
    public ClassFilter getExcludedExport()
@@ -323,7 +323,7 @@
 
    /**
     * Set the excludedExport.
-    * 
+    *
     * @param excludedExport the excludedExport.
     */
    public void setExcludedExport(ClassFilter excludedExport)
@@ -333,7 +333,7 @@
 
    /**
     * Get the exportAll.
-    * 
+    *
     * @return the exportAll.
     */
    public ExportAll getExportAll()
@@ -343,7 +343,7 @@
 
    /**
     * Set the exportAll.
-    * 
+    *
     * @param exportAll the exportAll.
     */
    public void setExportAll(ExportAll exportAll)
@@ -361,7 +361,7 @@
 
    /**
     * Get the exported packages
-    * 
+    *
     * @return the exported packages
     */
    public String[] getExportedPackages()
@@ -371,7 +371,7 @@
 
    /**
     * Set the exportedPackages.
-    * 
+    *
     * @param exportedPackages the exportedPackages.
     */
    public void setExportedPackages(String[] exportedPackages)
@@ -393,7 +393,7 @@
 
    /**
     * Set the importAll.
-    * 
+    *
     * @param importAll the importAll.
     */
    public void setImportAll(boolean importAll)
@@ -409,7 +409,7 @@
 
    /**
     * Set the cacheable.
-    * 
+    *
     * @param cacheable the cacheable.
     */
    public void setCacheable(boolean cacheable)
@@ -425,7 +425,7 @@
 
    /**
     * Set the blackListable.
-    * 
+    *
     * @param blackListable the blackListable.
     */
    public void setBlackListable(boolean blackListable)
@@ -446,7 +446,7 @@
    {
       if (checkFilters(path, "getResource"))
          return null;
-      
+
       VirtualFile child = findChild(path);
       if (child != null)
       {
@@ -462,7 +462,7 @@
       }
       return null;
    }
-   
+
    @Override
    public InputStream getResourceAsStream(String path)
    {
@@ -508,7 +508,7 @@
 
    /**
     * Find a child from a path
-    * 
+    *
     * @param path the path
     * @return the child if found in the roots
     */
@@ -522,7 +522,7 @@
 
    /**
     * Find a root from a path
-    * 
+    *
     * @param path the path
     * @return the root if found in the roots
     */
@@ -536,7 +536,7 @@
 
    /**
     * Find the virtual file information for a path
-    * 
+    *
     * @param path the path
     * @return the virtual file information
     */
@@ -545,7 +545,7 @@
       VirtualFileInfo result = vfsCache.get(path);
       if (result != null)
          return result;
-      
+
       for (VirtualFile root : roots)
       {
          try
@@ -564,7 +564,7 @@
       }
       return null;
    }
-   
+
    @Override
    public PackageInformation getClassPackageInformation(String className, String packageName)
    {
@@ -586,7 +586,7 @@
                else
                   manifestCache.put(rootURL, manifest);
             }
-            
+
             if (manifest == NO_MANIFEST)
                manifest = null;
          }
@@ -619,7 +619,7 @@
       }
       try
       {
-         VirtualFile root = findRoot(path);;
+         VirtualFile root = findRoot(path);
          URL codeSourceURL = root.toURL();
          Certificate[] certs = null; // TODO JBMICROCONT-182 determine certificates
          CodeSource cs = new CodeSource(codeSourceURL, certs);
@@ -631,10 +631,10 @@
          throw new Error("Error determining protection domain for " + clazz, e);
       }
    }
-   
+
    /**
     * Check the filters
-    * 
+    *
     * @param path the path to check
     * @param context the context
     * @return true if it fails the filters
@@ -662,10 +662,10 @@
    {
       /** The file */
       private VirtualFile file;
-      
+
       /** The root */
       private VirtualFile root;
-      
+
       public VirtualFileInfo(VirtualFile file, VirtualFile root)
       {
          this.file = file;
@@ -674,7 +674,7 @@
 
       /**
        * Get the file.
-       * 
+       *
        * @return the file.
        */
       public VirtualFile getFile()
@@ -684,7 +684,7 @@
 
       /**
        * Get the root.
-       * 
+       *
        * @return the root.
        */
       public VirtualFile getRoot()




More information about the jboss-cvs-commits mailing list