[jboss-cvs] JBossAS SVN: r112177 - branches/JBPAPP_5_1_JBPAPP-6716/system-jmx/src/main/org/jboss/deployment.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Aug 31 01:36:57 EDT 2011


Author: bmaxwell
Date: 2011-08-31 01:36:56 -0400 (Wed, 31 Aug 2011)
New Revision: 112177

Modified:
   branches/JBPAPP_5_1_JBPAPP-6716/system-jmx/src/main/org/jboss/deployment/MainDeployer.java
Log:
[JBPAPP-6716]] removed commented out temp code

Modified: branches/JBPAPP_5_1_JBPAPP-6716/system-jmx/src/main/org/jboss/deployment/MainDeployer.java
===================================================================
--- branches/JBPAPP_5_1_JBPAPP-6716/system-jmx/src/main/org/jboss/deployment/MainDeployer.java	2011-08-31 05:26:26 UTC (rev 112176)
+++ branches/JBPAPP_5_1_JBPAPP-6716/system-jmx/src/main/org/jboss/deployment/MainDeployer.java	2011-08-31 05:36:56 UTC (rev 112177)
@@ -1440,30 +1440,14 @@
       String name = contextMap.get(url);
       if (name == null)
       {
+         if (url == null)
+            throw new IllegalArgumentException("Null url");
+         
          return isDeployedManagementView(url.toString(), DeploymentState.STARTED);
       }
       
       return checkDeployed(name);
    }
-//   public boolean isDeployed(URL url)
-//   {
-//      String name = contextMap.get(url);
-//      if (name == null)
-//      {
-//         if (log.isTraceEnabled())
-//            log.trace("No such context: " + url);
-//         if (url == null)
-//            throw new IllegalArgumentException("Null url");
-//         String urlString = url.toString();
-//         // remove this once the JBoss-test is updated with VFS usage
-//         if (urlString.startsWith("vfs") == false)
-//            return isDeployed("vfs" + urlString, DeploymentState.STARTED);
-//         else
-//            return isDeployed(urlString, DeploymentState.STARTED);
-//      }
-//
-//      return isDeployed(url.toString(), DeploymentState.STARTED);
-//   }
    
    /**
     * Is deployed.



More information about the jboss-cvs-commits mailing list