airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1470717 - /airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/gfac/Scheduler.java
Date Mon, 22 Apr 2013 21:06:02 GMT
Author: lahiru
Date: Mon Apr 22 21:06:02 2013
New Revision: 1470717

URL: http://svn.apache.org/r1470717
Log:
fixing a minor issue with application specific provider feature.

Modified:
    airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/gfac/Scheduler.java

Modified: airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/gfac/Scheduler.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/gfac/Scheduler.java?rev=1470717&r1=1470716&r2=1470717&view=diff
==============================================================================
--- airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/gfac/Scheduler.java
(original)
+++ airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/gfac/Scheduler.java
Mon Apr 22 21:06:02 2013
@@ -71,14 +71,13 @@ public class Scheduler {
         String s = "";
         try {
             List<String> aClass = GFacConfiguration.xpathGetAttributeValueList(GFacConfiguration.getHandlerDoc(),
-                    Constants.XPATH_EXPR_APPLICATION_HANDLERS_START + applicationName + "]",
Constants.GFAC_CONFIG_APPLICATION_NAME_ATTRIBUTE);
+                    Constants.XPATH_EXPR_APPLICATION_HANDLERS_START + applicationName + "']",
Constants.GFAC_CONFIG_APPLICATION_NAME_ATTRIBUTE);
             // This should be have a single element only.
             if (!aClass.isEmpty()) {
                 s = aClass.get(0);
                 Class<? extends GFacProvider> aClass1 = Class.forName(s).asSubclass(GFacProvider.class);
                 return aClass1.newInstance();
             }
-
         } catch (XPathExpressionException e) {
            log.error("Error configuring gfac-config.xml for application specific configuration");
             throw new GFacException("Error configuring gfac-config.xml for application specific
configuration", e);



Mime
View raw message