[Yanel-commits] rev 46989 - public/yanel/trunk/src/core/java/org/wyona/yanel/core

michi at wyona.com michi at wyona.com
Sun Jan 10 13:19:09 CET 2010


Author: michi
Date: 2010-01-10 13:19:09 +0100 (Sun, 10 Jan 2010)
New Revision: 46989

Modified:
   public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceManager.java
Log:
redundant call fixed

Modified: public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceManager.java
===================================================================
--- public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceManager.java	2010-01-10 12:14:41 UTC (rev 46988)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/core/ResourceManager.java	2010-01-10 12:19:09 UTC (rev 46989)
@@ -128,7 +128,7 @@
         String rcPath = ResourceConfigurationMap.getRCPath(realm, path);
         if (rcPath != null) {
             if (realm.getRTIRepository().existsNode(rcPath)) {
-                ResourceConfiguration rc = new ResourceConfiguration(realm.getRTIRepository().getNode(ResourceConfigurationMap.getRCPath(realm, path)));
+                ResourceConfiguration rc = new ResourceConfiguration(realm.getRTIRepository().getNode(rcPath));
                 if (rc != null) return getResource(environment, realm, path, rc);
             } else {
                 throw new Exception("Request did match within resource configuration map of realm '" + realm.getName() + "', but no such resource type configuration node exist: " + rcPath);



More information about the Yanel-commits mailing list